/* Reset و تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* رنگ‌بندی لاکچری */
    --primary-gold: #FFD700;
    --gold-glow: #ffed4e;
    --gold-dark: #b8860b;
    --cream-pink: #F5E9E6;
    --cream-pink-light: #faf3f0;
    --dark-text: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --blue-wave: rgba(173, 216, 230, 0.15);
    --success: #28a745;
    --error: #dc3545;
    --sidebar-bg: #ffffff;
    --menu-item-bg: #1a1a1a;
    --menu-item-text: #FFD700;
    --menu-item-border: #FFD700;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream-pink);
    color: var(--dark-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
}

/* حاشیه طلایی درخشان برای صفحات */
.gold-border {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 999;
    border: 3px solid transparent;
    border-image: linear-gradient(45deg, var(--primary-gold), var(--gold-dark), var(--primary-gold)) 1;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

/* صفحات */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* هدر */
.main-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.logo-container {
    text-align: center;
    flex-grow: 1;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 
        2px 2px 0 var(--black),
        4px 4px 0 rgba(0, 0, 0, 0.2),
        0 0 20px var(--gold-glow),
        0 0 40px rgba(255, 215, 0, 0.3);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.logo-subtitle {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 300;
    letter-spacing: 1px;
}

/* دکمه‌ها */
.menu-toggle,
.back-btn {
    background: var(--primary-gold);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--gold-dark);
}

.menu-toggle:hover,
.back-btn:hover {
    background: var(--gold-glow);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.15),
        0 0 0 2px var(--gold-dark);
}

.menu-toggle:active,
.back-btn:active {
    transform: translateY(0);
}

/* محتوای اصلی */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 215, 0, 0.05));
    border-radius: 20px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: var(--blue-wave);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(173, 216, 230, 0.05) 10px,
            rgba(173, 216, 230, 0.05) 20px
        );
    animation: waveMove 20s linear infinite;
    z-index: -1;
}

@keyframes waveMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-text h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* دکمه اصلی */
.primary-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    border: 3px solid var(--black);
    border-radius: 12px;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.15),
        0 0 0 2px var(--gold-dark),
        0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 250px;
    margin: 1rem;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px var(--gold-dark),
        0 0 30px rgba(255, 215, 0, 0.7);
}

.primary-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* گرید دکمه‌ها */
.buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* دکمه‌های نوع */
.type-btn {
    background: var(--white);
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 250px;
    min-height: 150px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.type-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: var(--blue-wave);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(173, 216, 230, 0.1) 15px,
            rgba(173, 216, 230, 0.1) 30px
        );
    animation: waveMove 25s linear infinite;
    z-index: -1;
}

.type-btn i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.type-btn span {
    font-size: 1.3rem;
    color: var(--dark-text);
}

.type-btn small {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.type-btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.15),
        0 0 0 3px var(--primary-gold);
    background: var(--cream-pink-light);
}

.type-btn.image-btn {
    border-color: #4CAF50;
}

.type-btn.image-btn i {
    color: #4CAF50;
}

.type-btn.video-btn {
    border-color: #2196F3;
}

.type-btn.video-btn i {
    color: #2196F3;
}

.type-btn.custom-btn {
    border-color: #9C27B0;
}

.type-btn.custom-btn i {
    color: #9C27B0;
}

.type-btn.back-btn-secondary {
    border-color: #666;
    background: #f8f9fa;
}

.type-btn.back-btn-secondary i {
    color: #666;
}

/* دکمه‌های دسته‌بندی */
.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 3rem auto;
}

.category-btn {
    background: var(--white);
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: var(--blue-wave);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(173, 216, 230, 0.08) 12px,
            rgba(173, 216, 230, 0.08) 24px
        );
    animation: waveMove 30s linear infinite;
    z-index: -1;
}

.category-btn i {
    font-size: 2rem;
    color: var(--primary-gold);
    min-width: 40px;
}

.category-btn span {
    flex: 1;
    color: var(--dark-text);
    font-size: 1.3rem;
}

.category-btn small {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.category-btn:hover {
    transform: translateX(-5px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 0 0 3px var(--primary-gold);
    background: var(--cream-pink-light);
}

/* کارت‌های پرامپت */
.prompts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.prompt-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--white), var(--white)),
        linear-gradient(135deg, var(--primary-gold) 0%, transparent 50%, var(--primary-gold) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.prompt-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: var(--blue-wave);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(173, 216, 230, 0.1) 8px,
            rgba(173, 216, 230, 0.1) 16px
        );
    animation: waveMove 35s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

.prompt-card > * {
    position: relative;
    z-index: 1;
}

.prompt-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 0 2px var(--primary-gold),
        0 0 25px rgba(255, 215, 0, 0.2);
}

.prompt-id {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.prompt-id span {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px dashed var(--primary-gold);
}

.copy-id-btn {
    background: var(--primary-gold);
    color: var(--black);
    border: 1px solid var(--black);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.copy-id-btn:hover {
    background: var(--gold-glow);
    transform: scale(1.05);
}

.prompt-description {
    margin-bottom: 1.2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 80px;
}

.prompt-price {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    display: block;
}

.discount-price {
    font-size: 1.4rem;
    color: var(--success);
    font-weight: 600;
    display: block;
    margin-top: 0.3rem;
}

.discount-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-weight: 600;
}

.buy-prompt-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 10px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.buy-prompt-btn:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* فرم پرامپت سفارشی */
.custom-form-container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(255, 215, 0, 0.3);
    border: 1px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.custom-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: var(--blue-wave);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(173, 216, 230, 0.08) 10px,
            rgba(173, 216, 230, 0.08) 20px
        );
    animation: waveMove 40s linear infinite;
    z-index: 0;
}

.custom-form-container > * {
    position: relative;
    z-index: 1;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.4);
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: var(--primary-gold);
}

.type-selector {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.type-option {
    flex: 1;
    min-width: 200px;
}

.type-option input[type="radio"] {
    display: none;
}

.type-option input[type="radio"]:checked + .option-content {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.option-content {
    background: var(--cream-pink-light);
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.option-content:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.option-content i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.option-content span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
}

.custom-form-container input[type="text"],
.custom-form-container textarea,
.custom-form-container select {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: var(--white);
    color: var(--dark-text);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.custom-form-container input[type="text"]:focus,
.custom-form-container textarea:focus,
.custom-form-container select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.quality-selector select {
    background: var(--cream-pink-light);
    cursor: pointer;
}

.price-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.price-display {
    text-align: center;
}

.price-display .price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.price-display small {
    font-size: 1rem;
    color: #666;
}

.price-display #discountedPrice {
    color: var(--success);
    font-weight: 600;
    font-size: 1.2rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.secondary-btn {
    background: var(--white);
    color: var(--dark-text);
    border: 2px solid #666;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.secondary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* منوی کشویی */
.sidebar-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: var(--sidebar-bg);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary-gold);
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--menu-item-bg), #2a2a2a);
    border-bottom: 3px solid var(--menu-item-border);
}

.close-menu-btn {
    background: var(--menu-item-text);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: var(--gold-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.menu-item {
    background: var(--menu-item-bg);
    color: var(--menu-item-text);
    border: 2px solid var(--menu-item-border);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-align: right;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-item:hover {
    background: #2a2a2a;
    transform: translateX(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-item i {
    font-size: 1.3rem;
    min-width: 30px;
}

.timer-display {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gold-glow);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--menu-item-border);
    text-align: center;
}

.timer-display span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin: 0 0.2rem;
}

/* پنل مدیریت */
.admin-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: 20px;
    z-index: 10002;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 4px var(--primary-gold);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid var(--black);
}

.admin-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.admin-header {
    background: linear-gradient(135deg, var(--menu-item-bg), #2a2a2a);
    color: var(--menu-item-text);
    padding: 1.5rem;
    border-radius: 17px 17px 0 0;
    border-bottom: 3px solid var(--primary-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h2 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-admin-btn {
    background: var(--menu-item-text);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-admin-btn:hover {
    background: var(--gold-glow);
    transform: rotate(90deg);
}

.admin-content {
    padding: 2rem;
}

.password-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-input input {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: var(--cream-pink-light);
    color: var(--dark-text);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.password-input input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

#loginBtn {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 10px;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

#loginBtn:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-hint {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: var(--cream-pink-light);
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
}

#searchBtn {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 10px;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

#searchBtn:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.search-result {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px dashed var(--primary-gold);
    min-height: 200px;
}

.result-content h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-text {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-text);
    margin-bottom: 1rem;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    direction: ltr;
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* پاپ‌آپ تایمر */
.timer-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.timer-popup-content {
    background: linear-gradient(135deg, var(--menu-item-bg), #2a2a2a);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 3px var(--primary-gold);
    border: 2px solid var(--black);
    min-width: 300px;
}

.timer-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-gold);
}

.timer-popup-header h3 {
    color: var(--menu-item-text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-timer-btn {
    background: var(--menu-item-text);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.close-timer-btn:hover {
    background: var(--gold-glow);
    transform: rotate(90deg);
}

.timer-large {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
}

.timer-unit {
    text-align: center;
}

.timer-unit span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 10px var(--gold-glow);
    margin-bottom: 0.3rem;
}

.timer-unit small {
    color: var(--menu-item-text);
    font-size: 0.9rem;
}

.timer-message {
    color: var(--menu-item-text);
    text-align: center;
    margin: 1rem 0;
    font-size: 1rem;
}

.discount-info {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--menu-item-text);
    font-size: 0.95rem;
}

.discount-info i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* صفحه‌عنوان */
.page-title {
    text-align: center;
    margin: 2rem 0 3rem;
}

.page-title h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title h2 i {
    color: var(--primary-gold);
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* عناوین */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* اسکرول بار */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream-pink);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    border-radius: 5px;
    border: 2px solid var(--cream-pink);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-glow), var(--primary-gold));
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .logo-subtitle {
        font-size: 1rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .primary-btn {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        min-width: 200px;
    }
    
    .button-row {
        flex-direction: column;
        align-items: center;
    }
    
    .type-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .category-btn {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .prompts-container {
        grid-template-columns: 1fr;
    }
    
    .custom-form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .type-selector {
        flex-direction: column;
    }
    
    .type-option {
        min-width: 100%;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .sidebar {
        width: 300px;
    }
    
    .timer-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .timer-popup-content {
        min-width: auto;
        width: 100%;
    }
    
    .timer-unit span {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .page-title h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timer-large {
        flex-wrap: wrap;
    }
    
    .timer-unit {
        width: 45%;
        margin-bottom: 1rem;
    }
}

/* انیمیشن‌ها */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* کلاس‌های کمکی */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* نوتیفیکیشن */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--black);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10003;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border-color: #1e7e34;
}

.notification.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-color: #bd2130;
}

.notification i {
    font-size: 1.2rem;
}