@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-elevated: #1a1a1a;
    --gold-primary: #B87333;
    --gold-light: #D4AF37;
    --gold-dark: #8B5A2B;
    --gradient-gold: linear-gradient(135deg, #B87333 0%, #D4AF37 50%, #B87333 100%);
    --gradient-bronze: linear-gradient(135deg, #CD7F32 0%, #B87333 50%, #8B5A2B 100%);
    --gradient-bg: radial-gradient(circle at 20% 30%, rgba(184,115,51,0.1) 0%, rgba(10,10,10,1) 100%);
    --shadow-gold: 0 0 20px rgba(184,115,51,0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    pointer-events: none;
    z-index: -2;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--gold-primary), transparent);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    opacity: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    position: relative;
    z-index: 1;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(184,115,51,0.5));
    transition: var(--transition-smooth);
}

.logo img:hover {
    filter: drop-shadow(0 0 20px rgba(184,115,51,0.8));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 12px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .nav-link { font-size: 16px; padding: 8px 16px; }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after { width: 80%; }
.nav-link:hover { color: var(--gold-light); }

.btn-premium {
    background: linear-gradient(135deg, #B87333, #D4AF37, #B87333);
    background-size: 200% 200%;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn-premium { padding: 12px 32px; font-size: 16px; }
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184,115,51,0.4);
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gold-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .btn-outline-premium { padding: 10px 28px; font-size: 16px; }
}

.btn-outline-premium:hover {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(184,115,51,0.3);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero секция */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

@media (min-width: 992px) {
    .hero { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.hero-content { text-align: center; }
@media (min-width: 992px) { .hero-content { text-align: left; } }

.hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@media (min-width: 768px) { .hero-content h1 { font-size: 48px; } }
@media (min-width: 1200px) { .hero-content h1 { font-size: 64px; } }

.hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}
@media (min-width: 768px) { .hero-content p { font-size: 18px; } }

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}
@media (min-width: 992px) { .hero-stats { justify-content: flex-start; } }

.stat-item { text-align: center; }
.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-primary);
    display: block;
}
@media (min-width: 768px) { .stat-number { font-size: 32px; } }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); }

/* Колесо */
.wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}
@media (min-width: 768px) { .wheel-wrapper { width: 350px; height: 350px; } }
@media (min-width: 992px) { .wheel-wrapper { width: 400px; height: 400px; } }

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: 0 0 30px rgba(184,115,51,0.5);
    background: conic-gradient(
        from 0deg, #B87333 0deg 36deg, #D4AF37 36deg 72deg,
        #B87333 72deg 108deg, #8B5A2B 108deg 144deg,
        #B87333 144deg 180deg, #D4AF37 180deg 216deg,
        #B87333 216deg 252deg, #8B52B 252deg 288deg,
        #B87333 288deg 324deg, #D4AF37 324deg 360deg
    );
}

.wheel-pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 35px solid var(--gold-primary);
    z-index: 20;
}
@media (min-width: 768px) {
    .wheel-pointer { top: -30px; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 40px solid var(--gold-primary); }
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px rgba(184,115,51,0.8);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wheel-center::after { content: '★'; font-size: 24px; color: #000; font-weight: bold; }
@media (min-width: 768px) { .wheel-center { width: 80px; height: 80px; } .wheel-center::after { font-size: 32px; } }

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(184,115,51,0.8); }
    50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 30px rgba(184,115,51,1); }
}

.spin-btn {
    margin-top: 30px;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 700;
    background: var(--gradient-gold);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}
@media (min-width: 768px) { .spin-btn { padding: 15px 40px; font-size: 18px; } }
.spin-btn:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(184,115,51,0.6); }

/* Карточки */
.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
@media (min-width: 768px) { .section-title { font-size: 48px; } }

.section-subtitle {
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    font-size: 16px;
}
@media (min-width: 768px) { .section-subtitle { font-size: 18px; margin-bottom: 50px; } }

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

.premium-card {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(184,115,51,0.3);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 30px rgba(184,115,51,0.2);
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .card-image { height: 220px; } }

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.premium-card:hover .card-image img { transform: scale(1.1); }

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-gold);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #000;
}
@media (min-width: 768px) { .card-badge { top: 15px; right: 15px; padding: 5px 12px; font-size: 12px; } }

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) { .card-content { padding: 25px; } }

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gold-light);
}
@media (min-width: 768px) { .card-title { font-size: 24px; } }

.card-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-primary);
    margin: 10px 0;
}
.card-price span { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.5); }

.card-stats {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-value { font-size: 16px; font-weight: 700; display: block; }
.stat-label { font-size: 10px; color: rgba(255,255,255,0.5); }

.timer {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 12px 0;
    color: var(--gold-light);
}
@media (min-width: 768px) { .timer { font-size: 24px; } }

.btn-glow {
    width: 100%;
    padding: 12px;
    background: var(--gradient-gold);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(184,115,51,0.5); }

/* Стили для draw.php */
.draw-page { max-width: 1400px; margin: 0 auto; padding: 20px; }
.breadcrumb { margin-bottom: 30px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #B87333; }
.breadcrumb span { color: #B87333; }

.prize-section {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(184,115,51,0.3);
    position: relative;
}

.prize-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 968px) { .prize-grid { grid-template-columns: 1fr; gap: 30px; } }

.prize-image { text-align: center; }
.prize-image img { max-width: 100%; max-height: 350px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.prize-image i { font-size: 150px; color: #B87333; }

.prize-info h1 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #D4AF37, #B87333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.prize-price { font-size: 36px; font-weight: 800; color: #B87333; margin: 20px 0; }
.prize-price span { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.5); }
.prize-description { color: rgba(255,255,255,0.7); line-height: 1.6; margin: 20px 0; }

.timer-section {
    background: linear-gradient(135deg, rgba(184,115,51,0.1), rgba(212,175,55,0.05));
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}
.timer-label { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.timer-value {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 800;
    color: #D4AF37;
    letter-spacing: 5px;
}
@media (max-width: 768px) { .timer-value { font-size: 32px; letter-spacing: 3px; } }

.progress-section { margin: 20px 0; }
.progress-stats { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.progress-bar { width: 100%; height: 12px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #B87333, #D4AF37); border-radius: 10px; }

.stats-grid-draw {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-draw-card {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(184,115,51,0.3);
}
.stat-draw-card i { font-size: 32px; color: #B87333; margin-bottom: 10px; }
.stat-draw-card .number { font-size: 28px; font-weight: 800; color: #D4AF37; }

.participants-section {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    border-radius: 32px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(184,115,51,0.3);
}
.participants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.participants-header h2 { color: #D4AF37; font-size: 24px; }
.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.participant-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(184,115,51,0.2);
    transition: all 0.3s;
}
.participant-card:hover { border-color: #B87333; transform: translateY(-2px); }
.participant-number {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 800;
    color: #B87333;
    margin-bottom: 8px;
}
.participant-name { font-weight: 600; margin-bottom: 5px; }
.participant-contact { font-size: 12px; color: rgba(255,255,255,0.5); }
.winner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #B87333, #D4AF37);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
}

.ticket-section {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    border-radius: 32px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(184,115,51,0.3);
}
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin: 25px 0;
}
.ticket {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(184,115,51,0.3);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
}
.ticket:hover:not(.booked):not(.confirmed):not(.winner):not(.user-booked) {
    background: rgba(184,115,51,0.2);
    border-color: #B87333;
    transform: scale(1.05);
}
.ticket.selected {
    background: linear-gradient(135deg, #B87333, #D4AF37);
    color: #000;
    border-color: transparent;
}
.ticket.booked {
    background: rgba(127,140,141,0.2);
    border-color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.7;
}
.ticket.booked::after { content: "⏳"; position: absolute; top: 2px; right: 5px; font-size: 10px; }
.ticket.user-booked {
    background: rgba(243,156,18,0.3);
    border-color: #f39c12;
    cursor: pointer;
}
.booking-timer { display: block; font-size: 9px; color: #f39c12; margin-top: 3px; }
.ticket.confirmed {
    background: rgba(46,204,113,0.2);
    border-color: #2ecc71;
    cursor: not-allowed;
    opacity: 0.8;
}
.ticket.confirmed::after { content: "✓"; position: absolute; top: 2px; right: 5px; font-size: 10px; color: #2ecc71; }
.ticket.winner {
    background: linear-gradient(135deg, rgba(184,115,51,0.3), rgba(212,175,55,0.2));
    border-color: #B87333;
    cursor: not-allowed;
    animation: winnerPulse 1s ease-in-out infinite;
}
.ticket.winner::after { content: "🏆"; position: absolute; top: 2px; right: 5px; font-size: 12px; }
@keyframes winnerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(184,115,51,0.4); }
    50% { box-shadow: 0 0 0 5px rgba(184,115,51,0.2); }
}

.selected-tickets-panel {
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.selected-tickets-list { display: flex; flex-wrap: wrap; gap: 10px; }
.selected-ticket-badge {
    background: linear-gradient(135deg, #B87333, #D4AF37);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.remove-ticket { background: none; border: none; color: #000; cursor: pointer; font-size: 14px; font-weight: bold; opacity: 0.7; }
.remove-ticket:hover { opacity: 1; }

.organizer-section {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    border-radius: 32px;
    padding: 30px;
    border: 1px solid rgba(184,115,51,0.3);
}
.organizer-info { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.organizer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B87333, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    flex-shrink: 0;
}

.winner-result {
    text-align: center;
    margin: 20px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(184,115,51,0.2), rgba(212,175,55,0.1));
    border-radius: 24px;
}
.winner-result h2 { font-size: 32px; color: #D4AF37; margin-bottom: 15px; }
.winner-result .winner-name { font-size: 48px; font-weight: 800; color: #fff; }
.winner-result .winner-ticket { font-size: 24px; color: #B87333; margin-top: 10px; }

.share-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #B87333, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.share-button i { font-size: 20px; color: #000; }
.share-button:hover { transform: scale(1.1); box-shadow: 0 5px 20px rgba(184,115,51,0.5); }

.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}
.share-modal.show { display: flex; }
.share-modal-content {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid #B87333;
    border-radius: 28px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
}
.share-modal-content h3 { color: #D4AF37; margin-bottom: 20px; font-size: 24px; }
.share-modal-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.share-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.share-modal-btn:hover { transform: translateY(-3px); }
.share-modal-btn.telegram { background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff; }
.share-modal-btn.vk { background: linear-gradient(135deg, #4c75a3, #2a4a6e); color: #fff; }
.share-modal-btn.email { background: linear-gradient(135deg, #B87333, #D4AF37); color: #000; }
.share-modal-btn.copy { background: linear-gradient(135deg, #2c3e50, #1a2a3a); color: #fff; }
.share-modal-close {
    margin-top: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
}
.copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}
.copy-notification.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.footer {
    margin-top: 80px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(184,115,51,0.3);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .footer { margin-top: 100px; padding: 60px 0 30px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
}
.footer-section h3 {
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-section p { color: rgba(255,255,255,0.5); line-height: 1.6; font-size: 13px; }
.social-links { display: flex; gap: 12px; margin-top: 15px; flex-wrap: wrap; }
.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(184,115,51,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s;
}
.social-link:hover { background: var(--gradient-gold); color: #000; transform: translateY(-3px); }
.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

.modal-rules {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.modal-rules.show { display: flex; }
.modal-rules-content {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid #B87333;
    border-radius: 28px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.modal-rules-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(184,115,51,0.3);
}
.modal-rules-header h2 { color: #D4AF37; font-size: 24px; margin: 0; }
.modal-rules-close {
    background: none;
    border: none;
    font-size: 32px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
}
.modal-rules-close:hover { color: #B87333; transform: rotate(90deg); }
.modal-rules-body { padding: 25px 30px; overflow-y: auto; flex: 1; }
.rules-section { margin-bottom: 25px; }
.rules-section h3 { color: #B87333; font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.rules-section p { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 10px; }
.rules-section ul { margin: 10px 0 0 20px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.modal-rules-footer { padding: 20px 30px; border-top: 1px solid rgba(184,115,51,0.3); text-align: center; }
.btn-modal-close {
    background: linear-gradient(135deg, #B87333, #D4AF37);
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}
.btn-modal-close:hover { transform: scale(1.02); box-shadow: 0 5px 20px rgba(184,115,51,0.4); }

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.step-card {
    background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(26,26,26,0.95));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(184,115,51,0.3);
    transition: all 0.4s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: #B87333; box-shadow: 0 10px 30px rgba(184,115,51,0.2); }
.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(184,115,51,0.2), rgba(212,175,55,0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-icon i { font-size: 32px; color: #B87333; }
.step-card h3 { font-size: 18px; margin-bottom: 10px; color: #D4AF37; }
.step-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.timer-label { text-align: center; font-size: 10px; color: rgba(255,255,255,0.4); margin-top: -8px; margin-bottom: 10px; }
@media (min-width: 768px) { .timer-label { font-size: 12px; margin-top: -10px; } }

@media (max-width: 768px) {
    .container { padding: 15px 20px; }
    .header { flex-direction: column; text-align: center; }
    .nav-links { justify-content: center; }
    .prize-info h1 { font-size: 28px; }
    .prize-price { font-size: 28px; }
    .ticket-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
    .ticket { padding: 10px 5px; font-size: 14px; }
}
@media (max-width: 480px) { .container { padding: 12px 15px; } }