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

body {
    background-color: #000000;
    color: #F4F7F0;
    font-family: 'Segoe UI', 'Orbitron', 'Poppins', 'Arial', sans-serif;
    overflow-x: hidden;
    line-height: 1.4;
}
        
        .header-nav * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
    
        .header-nav {
            --header-primary: #B502F6;
            --header-secondary: #BBF73B;
            --header-bg: #0a0a0f;
            --header-bg-transparent: rgba(10, 10, 15, 0.95);
            --header-border: #252540;
            --header-text: #FFFFFF;
            --header-text-light: #E0E0E8;
            --header-text-muted: #9090A8;
            --header-hover: #B502F6;
        }
        
  
        .header-nav {
            background: var(--header-bg-transparent);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--header-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
        }
        
        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.75rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
       
        .header-logo {
            text-decoration: none;
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: 2px;
            transition: opacity 0.2s;
        }
        
        .header-logo:hover {
            opacity: 0.9;
        }
        
        .header-logo-mospoly {
            color: var(--header-secondary);
        }
        
        .header-logo-jam {
            color: var(--header-primary);
        }
        
    
        .header-menu {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        
        .header-link {
            color: var(--header-text-light);
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        
        .header-link:hover {
            color: var(--header-text);
            background: rgba(181, 2, 246, 0.1);
        }
        
     
        .header-link.active {
            background: var(--header-primary);
            color: white;
        }
        
        .header-link.active:hover {
            background: #9a02cf;
        }
        
      
        .header-logout {
            color: #DC3545;
        }
        
        .header-logout:hover {
            background: rgba(220, 53, 69, 0.1);
            color: #FF6B6B;
        }
        
       
        .header-burger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }
        
        .header-burger span {
            display: block;
            width: 25px;
            height: 2px;
            background: var(--header-text);
            margin: 5px 0;
            transition: all 0.3s ease;
        }
        
      
        .header-mobile-menu {
            display: none;
            flex-direction: column;
            background: var(--header-bg);
            border-top: 1px solid var(--header-border);
            padding: 1rem 2rem;
            gap: 0.5rem;
        }
        
        .header-mobile-menu .header-link {
            display: block;
            padding: 0.75rem 0;
            text-align: center;
        }
        
  
        .header-divider {
            width: 1px;
            height: 30px;
            background: var(--header-border);
            margin: 0 0.5rem;
        }
        

        .header-user-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.3rem 0.8rem;
            background: rgba(187, 247, 59, 0.1);
            border-radius: 2rem;
            font-size: 0.85rem;
            color: var(--header-secondary);
        }
        
        .header-user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--header-primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: white;
        }
        

        @media (max-width: 900px) {
            .header-container {
                padding: 0.75rem 1rem;
            }
            
            .header-menu {
                display: none;
            }
            
            .header-burger {
                display: block;
            }
            
            .header-mobile-menu {
                display: flex;
            }
            
            .header-mobile-menu.show {
                display: flex;
            }
            
            .header-divider {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .header-logo {
                font-size: 1.3rem;
            }
            
            .header-container {
                padding: 0.6rem 1rem;
            }
        }
        

        .header-burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .header-burger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .header-burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }



.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a2a 0%, #000000 100%);
    z-index: 1;
}
.stars::before, .stars::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 40px, #fff, rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 80px 240px, #f8f8ff, rgba(0,0,0,0)),
                      radial-gradient(3px 2px at 300px 80px, #fffaec, rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 500px 500px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px, 300px 400px, 400px 600px, 600px 800px;
    background-repeat: repeat;
    opacity: 0.5;
    animation: starMove 60s linear infinite;
}
@keyframes starMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

.parallax-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.shape {
    position: absolute;
    will-change: transform;
    filter: drop-shadow(0 0 12px currentColor);
    animation: floatShape linear infinite alternate;
    opacity: 0.75;
    transition: opacity 0.3s;
}

.shape-purple {
    color: #B502F6;
    fill: #B502F6;
    stroke: #B502F6;
}
.shape-green {
    color: #BBF73B;
    fill: #BBF73B;
    stroke: #BBF73B;
}

@keyframes floatShape {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(var(--dx, 50px), var(--dy, -60px), 0) rotate(var(--rot, 360deg));
    }
}

.content {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}

section {
    margin-bottom: 5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 2rem 2rem;
    border: 1px solid rgba(244, 247, 240, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
section:hover {
    border-color: rgba(185, 2, 246, 0.5);
    box-shadow: 0 20px 40px rgba(185, 2, 246, 0.2);
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.brand-mospoly {
    color: #BBF73B;
    display: inline-block;
    text-shadow: 0 0 15px rgba(187, 247, 59, 0.5);
}
.brand-jam {
    color: #B502F6;
    display: inline-block;
    text-shadow: 0 0 15px rgba(181, 2, 246, 0.5);
}
.subhead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-left: 6px solid #B502F6;
    padding-left: 1rem;
}

.dates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}
.date-card {
    flex: 1;
    min-width: 200px;
    background: rgba(0,0,0,0.7);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #2c2c2c;
    transition: all 0.3s;
}
.date-card strong {
    font-size: 1.8rem;
    display: block;
    color: #BBF73B;
    margin-bottom: 0.5rem;
}
.date-card .date-label {
    font-size: 0.9rem;
    color: #B502F6;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.date-card:hover {
    border-color: #B502F6;
    transform: translateY(-5px);
}

.theme-visible {
    margin-top: 3rem;
    text-align: center;
}

.theme-visible-inner {
    background: linear-gradient(135deg, rgba(181, 2, 246, 0.2), rgba(187, 247, 59, 0.15));
    border-radius: 2rem;
    padding: 2.5rem;
    border: 2px solid rgba(187, 247, 59, 0.4);
    backdrop-filter: blur(5px);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(181, 2, 246, 0.3);
        border-color: rgba(187, 247, 59, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(187, 247, 59, 0.2);
        border-color: rgba(181, 2, 246, 0.6);
    }
}

/* Тема джема... */

.theme-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}

.speed-glow {
    background: linear-gradient(135deg, #B502F6, #BBF73B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(187, 247, 59, 0.5);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(187, 247, 59, 0.5); }
    50% { opacity: 0.9; text-shadow: 0 0 40px rgba(187, 247, 59, 0.8); }
}

.theme-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #BBF73B;
    text-align: center;
    font-weight: 500;
}

.theme-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #F4F7F0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #B502F6;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-quote {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(187, 247, 59, 0.3);
    color: #BBF73B;
    letter-spacing: 1px;
}

.deadline-block {
    background: linear-gradient(135deg, rgba(181, 2, 246, 0.2), rgba(187, 247, 59, 0.1));
    border: 2px solid #B502F6;
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.deadline-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #B502F6, #BBF73B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}
.deadline-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}
.timer-container {
    background: rgba(0,0,0,0.8);
    border-radius: 2rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #BBF73B;
    position: relative;
    z-index: 2;
}
.timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.timer-block {
    text-align: center;
    min-width: 90px;
}
.timer-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #B502F6, #BBF73B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: monospace;
    letter-spacing: 4px;
}
.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F4F7F0;
    opacity: 0.7;
}
.deadline-ended {
    font-size: 2rem;
    font-weight: bold;
    color: #BBF73B;
    text-shadow: 0 0 10px #B502F6;
    padding: 1rem;
}
.note-small {
    font-size: 0.75rem;
    margin-top: 1rem;
    opacity: 0.6;
    position: relative;
    z-index: 2;
}

.form-section {
    transition: opacity 0.5s;
}
.form-hidden {
    display: none;
}
.submit-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.form-group label {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #F4F7F0;
}
.form-group input, .form-group textarea {
    background: rgba(20, 20, 30, 0.9);
    border: 1px solid #3a3a4a;
    border-radius: 1rem;
    padding: 0.9rem 1.2rem;
    color: #F4F7F0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #B502F6;
    box-shadow: 0 0 8px rgba(185, 2, 246, 0.4);
}
.members-section {
    background: rgba(0,0,0,0.4);
    border-radius: 1.2rem;
    padding: 1rem;
    margin-top: 0.5rem;
}
.members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.member-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(30,30,45,0.6);
    padding: 0.8rem;
    border-radius: 1rem;
    flex-wrap: wrap;
}
.member-item input {
    flex: 1;
    min-width: 150px;
    background: #1e1e2a;
    border: 1px solid #4a4a5a;
}
.remove-member {
    background: #B502F6;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.remove-member:hover {
    background: #8a02c2;
    transform: scale(1.05);
}
.add-member-btn {
    background: rgba(187, 247, 59, 0.2);
    border: 2px dashed #BBF73B;
    color: #BBF73B;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.add-member-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.cloud-link-input {
    width: 100%;
}
.submit-btn {
    background: linear-gradient(95deg, #B502F6, #9a02cf);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F4F7F0;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
    align-self: center;
}
.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #B502F6;
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.prizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0 1rem;
}
.prize-item {
    flex: 1;
    background: rgba(0,0,0,0.6);
    padding: 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #B502F6;
}
.prize-item h3 {
    font-size: 1.5rem;
    color: #BBF73B;
    margin-bottom: 0.8rem;
}
.prize-item p {
    margin: 0.5rem 0;
}

.jury-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}
.jury-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: rgba(20, 20, 30, 0.9);
    border-radius: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(187, 247, 59, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.jury-card:hover {
    transform: translateY(-5px);
    border-color: #B502F6;
    box-shadow: 0 10px 25px rgba(181, 2, 246, 0.3);
}

.jury-card.closed {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(15, 15, 25, 0.95));
    border-color: rgba(181, 2, 246, 0.5);
}
.jury-card.closed .card-inner {
    filter: blur(4px);
    opacity: 0.6;
}
.jury-card.closed .card-overlay {
    display: flex;
}

.jury-card.open {
    background: rgba(20, 20, 30, 0.95);
    border-color: #BBF73B;
}
.jury-card.open .card-overlay {
    display: none;
}
.jury-card.open .card-inner {
    filter: none;
    opacity: 1;
}

.card-inner {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s;
}
.card-overlay .question-icon {
    font-size: 4rem;
    color: #B502F6;
    text-shadow: 0 0 15px #B502F6;
    margin-bottom: 0.5rem;
}
.card-overlay .mystery-text {
    font-size: 0.9rem;
    color: #BBF73B;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.card-overlay .reveal-hint {
    font-size: 0.7rem;
    margin-top: 0.8rem;
    color: #F4F7F0;
    opacity: 0.6;
}

.jury-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #B502F6, #BBF73B);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #BBF73B;
}

.jury-photo .photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #F4F7F0;
    font-weight: bold;
}

.jury-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jury-card:hover .jury-img {
    transform: scale(1.05);
}

.jury-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #BBF73B;
    margin-bottom: 0.5rem;
}
.jury-role {
    font-size: 0.9rem;
    color: #B502F6;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.jury-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
}
.info-badge {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.5;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.rules-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(244, 247, 240, 0.1);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.rules-list li::before {
    content: "👾";
    color: #BBF73B;
    font-size: 1.2rem;
}
.rules-list li:last-child {
    border-bottom: none;
}

footer {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.8rem;
    opacity: 0.6;
}
.info-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    text-align: center;
}
#formMessage {
    margin-top: 1rem;
    font-weight: 500;
}

@media (max-width: 760px) {
    .brand-title {
        font-size: 2.8rem;
    }
    .timer-number {
        font-size: 2rem;
    }
    .timer-block {
        min-width: 60px;
    }
    .timer {
        gap: 0.8rem;
    }
    .jury-card {
        min-width: 260px;
    }
    .deadline-title {
        font-size: 1.4rem;
    }
    .theme-title {
        font-size: 2rem;
    }
    .theme-subtitle {
        font-size: 1.1rem;
    }
    .theme-description {
        font-size: 0.95rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .subhead {
        font-size: 1.1rem;
    }
    section {
        padding: 1.5rem;
    }
    .date-card strong {
        font-size: 1.4rem;
    }
    .prize-item h3 {
        font-size: 1.2rem;
    }
    .theme-visible-inner {
        padding: 1.5rem;
    }
}


@media (min-width: 761px) and (max-width: 1024px) {
    .brand-title {
        font-size: 3.5rem;
    }
    .timer-number {
        font-size: 2.5rem;
    }
    .theme-title {
        font-size: 2.5rem;
    }
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a2a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #B502F6, #BBF73B);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9a02cf, #a8e32e);
}


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

section {
    animation: fadeInUp 0.6s ease-out;
}


.prize-item, .jury-card, .date-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


#formMessage {
    padding: 0.8rem;
    border-radius: 1rem;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s;
}


button:active {
    transform: scale(0.98);
}

.success-message {
    background: rgba(187, 247, 59, 0.2);
    border: 2px solid #BBF73B;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #BBF73B;
    font-weight: bold;
    animation: fadeInUp 0.5s ease-out;
}

.error-message {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #FF6B6B;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #FF6B6B;
    font-weight: bold;
    animation: fadeInUp 0.5s ease-out;
}

 .cookie-notification {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            max-width: 400px;
            background: rgba(20, 20, 30, 0.95);
            backdrop-filter: blur(12px);
            border-radius: 16px;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 1000;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            transform: translateY(0);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .cookie-notification.hide {
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
        }

        .cookie-icon {
            font-size: 28px;
            flex-shrink: 0;
        }

        .cookie-text {
            flex: 1;
            font-size: 13px;
            line-height: 1.4;
            color: #f0f0f0;
        }

        .cookie-text a {
            color: #ffaa66;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .cookie-text a:hover {
            color: #ffcc88;
        }

        .cookie-btn {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            padding: 6px 14px;
            border-radius: 40px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s ease;
            flex-shrink: 0;
        }

        .cookie-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        @media (max-width: 500px) {
            .cookie-notification {
                left: 16px;
                right: 16px;
                bottom: 16px;
                padding: 12px 16px;
            }
            .cookie-icon {
                font-size: 24px;
            }
            .cookie-text {
                font-size: 12px;
            }
        }

        .consent-text {
            margin-top: 16px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 16px;
        }

        .consent-text a {
            color: #BBF73B;
            text-decoration: none;
            border-bottom: 1px dotted #BBF73B;
        }

        .consent-text a:hover {
            color: #BBF73B;
            border-bottom-color: #BBF73B;
        }
 
 

        .auth-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }
        .auth-container {
            max-width: 650px;
            width: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            border-radius: 2rem;
            padding: 2.5rem;
            border: 1px solid rgba(187, 247, 59, 0.3);
            animation: fadeInUp 0.5s ease-out;
        }
        .auth-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        .auth-header h1 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        .auth-header p {
            opacity: 0.7;
        }
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .form-row {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .form-row .form-group {
            flex: 1;
            min-width: 150px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        .form-group label {
            font-weight: 600;
            color: #BBF73B;
            font-size: 0.9rem;
        }
        .form-group label .optional {
            color: #888;
            font-weight: normal;
            font-size: 0.8rem;
        }
        .form-group input, .form-group select {
            background: rgba(20, 20, 30, 0.9);
            border: 1px solid #3a3a4a;
            border-radius: 0.8rem;
            padding: 0.8rem 1rem;
            color: #F4F7F0;
            font-size: 0.95rem;
            transition: all 0.2s;
        }
        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: #B502F6;
            box-shadow: 0 0 8px rgba(185, 2, 246, 0.4);
        }
        .form-group select option {
            background: #1a1a2a;
        }
        .auth-btn {
            background: linear-gradient(95deg, #B502F6, #9a02cf);
            border: none;
            padding: 1rem;
            font-size: 1.1rem;
            font-weight: bold;
            color: #F4F7F0;
            border-radius: 3rem;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 1rem;
        }
        .auth-btn:hover {
            transform: scale(1.02);
            box-shadow: 0 0 15px #B502F6;
        }
        .auth-footer {
            text-align: center;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(244, 247, 240, 0.1);
        }
        .auth-footer a {
            color: #BBF73B;
            text-decoration: none;
        }
        .auth-footer a:hover {
            text-decoration: underline;
        }
        .error-message {
            background: rgba(255, 107, 107, 0.2);
            border: 1px solid #FF6B6B;
            border-radius: 1rem;
            padding: 0.8rem;
            text-align: center;
            color: #FF6B6B;
            margin-bottom: 1rem;
        }
        .success-message {
            background: rgba(187, 247, 59, 0.2);
            border: 1px solid #BBF73B;
            border-radius: 1rem;
            padding: 0.8rem;
            text-align: center;
            color: #BBF73B;
            margin-bottom: 1rem;
        }
        .required-star {
            color: #B502F6;
        }
        .back-link {
            display: inline-block;
            margin-top: 1rem;
            color: #F4F7F0;
            opacity: 0.6;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .back-link:hover {
            opacity: 1;
        }
        @media (max-width: 600px) {
            .auth-container {
                padding: 1.5rem;
            }
            .form-row {
                flex-direction: column;
                gap: 1rem;
            }
        }
  

.winners-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(20,5,30,0.9));
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.winners-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187,247,59,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.winners-subhead {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}


.winners-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    min-height: 550px;
}

.winner-card {
    background: rgba(15,15,25,0.9);
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(187,247,59,0.2);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.winner-card:hover {
    transform: translateY(-8px);
    border-color: #BBF73B;
    box-shadow: 0 20px 40px rgba(181,2,246,0.3);
}


.winner-first {
    max-width: 380px;
    min-width: 300px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,160,0,0.05));
    border: 2px solid #FFD700;
    transform: translateY(-40px);
    z-index: 3;
}
.winner-first:hover {
    transform: translateY(-48px);
}


.winner-second {
    max-width: 340px;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(128,128,128,0.05));
    border: 1px solid #C0C0C0;
    transform: translateY(0);
    z-index: 2;
}


.winner-third {
    max-width: 340px;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(205,127,50,0.1), rgba(139,69,19,0.05));
    border: 1px solid #CD7F32;
    transform: translateY(20px);
    z-index: 1;
}

.winner-medal {
    font-size: 3rem;
    position: absolute;
    top: 15px;
    left: 20px;
}

.winner-crown {
    font-size: 2.5rem;
    position: absolute;
    top: -5px;
    right: 20px;
    animation: floatCrown 2s ease-in-out infinite;
}

@keyframes floatCrown {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.winner-score-badge {
    display: inline-block;
    background: rgba(0,0,0,0.7);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #BBF73B;
    margin-bottom: 1rem;
    border: 1px solid #BBF73B;
}

.winner-game-icon {
    font-size: 3.5rem;
    margin: 0.5rem 0;
}

.winner-game-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #BBF73B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.winner-team-name {
    font-size: 1.2rem;
    color: #B502F6;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.winner-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.8rem 0;
}

.member-tag {
    background: rgba(187,247,59,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    color: #ccc;
}

.winner-stats {
    margin: 1rem 0;
    text-align: left;
    background: rgba(0,0,0,0.4);
    padding: 0.8rem;
    border-radius: 1rem;
}

.stat {
    font-size: 0.85rem;
    margin: 0.3rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stat-label {
    color: #aaa;
}

.stat-value {
    color: #BBF73B;
    font-weight: bold;
}

.winner-link {
    color: #B502F6;
    text-decoration: none;
    word-break: break-all;
}

.winner-link:hover {
    text-decoration: underline;
}

.winner-quote {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(187,247,59,0.3);
    color: #ddd;
}


@media (max-width: 900px) {
    .winners-podium {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .winner-first {
        transform: translateY(0);
        order: 1;
    }
    
    .winner-second {
        transform: translateY(0);
        order: 2;
    }
    
    .winner-third {
        transform: translateY(0);
        order: 3;
    }
    
    .winner-medal, .winner-crown {
        position: static;
        display: inline-block;
        margin: 0 0.3rem;
    }
    
    .winner-crown {
        font-size: 1.8rem;
    }
}


.jury-scores {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0;
    flex-wrap: nowrap;
}

.jury-score-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0.8rem;
    padding: 0.4rem 0.6rem;
    text-align: center;
    min-width: 60px;
    border: 1px solid rgba(187, 247, 59, 0.3);
    transition: all 0.2s ease;
}

.jury-score-card:hover {
    transform: scale(1.05);
    border-color: #B502F6;
    box-shadow: 0 0 10px rgba(181, 2, 246, 0.3);
}

.jury-score-label {
    font-size: 0.6rem;
    color: #aaa;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.jury-score-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #BBF73B, #B502F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}


.winner-game-link {
    margin: 0.8rem 0;
}

.winner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(181, 2, 246, 0.2);
    border: 1px solid #B502F6;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.winner-link:hover {
    background: rgba(181, 2, 246, 0.4);
    border-color: #BBF73B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 2, 246, 0.3);
}

.winner-placeholder {
    text-align: center;
    padding: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
}


@media (max-width: 768px) {
    .jury-scores {
        gap: 0.4rem;
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .jury-score-card {
        min-width: 55px;
        padding: 0.3rem 0.5rem;
    }
    
    .jury-score-value {
        font-size: 1.1rem;
    }
    
    .jury-score-label {
        font-size: 0.55rem;
    }
    
    .winner-link {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .jury-score-card {
        min-width: 50px;
    }
    
    .jury-score-value {
        font-size: 1rem;
    }
}


.winner-game-link {
    margin: 0.8rem 0;
}

.winner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(181, 2, 246, 0.2);
    border: 1px solid #B502F6;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.winner-link:hover {
    background: rgba(181, 2, 246, 0.4);
    border-color: #BBF73B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 2, 246, 0.3);
}


.winner-stats {
    display: none;
}


@media (max-width: 600px) {
    .jury-scores {
        gap: 0.5rem;
    }
    
    .jury-score-card {
        min-width: 55px;
        padding: 0.4rem 0.6rem;
    }
    
    .jury-score-value {
        font-size: 1.2rem;
    }
    
    .winner-link {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}
 

.gallery-link-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(187, 247, 59, 0.2);
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(187, 247, 59, 0.15), rgba(181, 2, 246, 0.15));
    border: 2px solid #BBF73B;
    padding: 1rem 2rem;
    border-radius: 3rem;
    color: #BBF73B;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(187, 247, 59, 0.25), rgba(181, 2, 246, 0.25));
    border-color: #B502F6;
    box-shadow: 0 0 20px rgba(181, 2, 246, 0.4);
    color: #fff;
}

.gallery-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .gallery-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
}


 
/* Тема джема... в стилях не прячется */