* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #1a4d8f 0%, #0a2540 50%, #000814 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.light-mode {
    background: linear-gradient(180deg, #87ceeb 0%, #5b9bd5 50%, #4a7ba7 100%);
    color: #1d1d1f;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 223, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 100, 100, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(100, 200, 255, 0.15) 0%, transparent 50%);
    animation: backgroundShift 20s ease infinite;
    z-index: -1;
}

@keyframes backgroundShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05) rotate(1deg);
    }
}

.floating-renders {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.render {
    position: absolute;
    opacity: 0.15;
    animation: floatRender 20s ease-in-out infinite;
    pointer-events: none;
}

.render-1 {
    width: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.render-2 {
    width: 250px;
    top: 60%;
    right: 8%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.render-3 {
    width: 280px;
    bottom: 15%;
    left: 10%;
    animation-delay: 10s;
    animation-duration: 28s;
}

.render-4 {
    width: 320px;
    top: 40%;
    right: 5%;
    animation-delay: 15s;
    animation-duration: 32s;
}

.render-logo {
    width: 200px !important;
    opacity: 0.2 !important;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(255, 223, 0, 0.5));
}

.render-logo-1 {
    top: 25%;
    left: 15%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.render-logo-2 {
    bottom: 30%;
    right: 12%;
    animation-delay: 12s;
    animation-duration: 26s;
}

.render-logo-3 {
    top: 55%;
    left: 50%;
    animation-delay: 18s;
    animation-duration: 24s;
}

@keyframes floatRender {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-30px) translateX(10px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 223, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 223, 0, 0.4);
    border-radius: 50px;
    text-decoration: none;
    color: #ffdf00;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    transform: translateX(-5px) scale(1.05);
    background: rgba(255, 223, 0, 0.3);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.5);
}

.back-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.back-button:hover .back-icon {
    transform: translateX(-3px);
}

.hero-section {
    animation: fadeInDown 1s ease 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trophy-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

header h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 50%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.5rem;
    color: #ffdf00;
    font-weight: 600;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: 400;
}

.hall-of-fame {
    padding: 40px 20px;
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.fame-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 25px;
    border: 2px solid rgba(255, 223, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
}

.fame-card:nth-child(1) {
    animation-delay: 0.1s;
}

.fame-card:nth-child(2) {
    animation-delay: 0.2s;
}

.fame-card:nth-child(3) {
    animation-delay: 0.3s;
}

.fame-card:nth-child(4) {
    animation-delay: 0.4s;
}

.fame-card:nth-child(5) {
    animation-delay: 0.5s;
}

.fame-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffdf00 0%, #ff6b6b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.fame-card:hover::before {
    transform: scaleX(1);
}

.fame-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(255, 223, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 107, 0.6);
    background: rgba(17, 24, 39, 0.8);
}

.fame-rank {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.fame-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fame-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.fame-date {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 15px;
    font-style: italic;
}

.fame-description {
    font-size: 1.1rem;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 15px;
}

.fame-participants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.participant-tag {
    background: rgba(255, 223, 0, 0.2);
    color: #ffdf00;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.3rem;
    color: #9ca3af;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a4d8f 0%, #0a2540 50%, #000814 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 223, 0, 0.2);
    border-top: 4px solid #ffdf00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

#theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 223, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 223, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 223, 0, 0.3);
}

.theme-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 223, 0, 0.4);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #ffdf00;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.theme-option:hover {
    background: rgba(255, 223, 0, 0.2);
}

.theme-option.active {
    background: rgba(255, 223, 0, 0.3);
}

footer {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 223, 0, 0.3);
}

footer p {
    margin: 15px 0;
    font-size: 1.2rem;
    color: #ffdf00;
}

.footer-note {
    font-size: 1.1rem;
    color: #9ca3af;
}

body.light-mode .fame-card {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 223, 0, 0.4);
}

body.light-mode .fame-description {
    color: #1d1d1f;
}

body.light-mode .fame-date {
    color: #4a4a4a;
}

body.light-mode .participant-tag {
    background: rgba(255, 223, 0, 0.3);
    color: #ff6b6b;
}

body.light-mode #loading-screen {
    background: linear-gradient(180deg, #87ceeb 0%, #5b9bd5 50%, #4a7ba7 100%);
}

body.light-mode .theme-menu {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .theme-option {
    color: #ff6b6b;
}

body.light-mode .back-button {
    background: rgba(255, 223, 0, 0.3);
    border: 2px solid rgba(255, 223, 0, 0.5);
    color: #ff6b6b;
}

body.light-mode .back-button:hover {
    background: rgba(255, 223, 0, 0.4);
}

body.light-mode footer {
    border-top: 1px solid rgba(255, 223, 0, 0.4);
}

body.light-mode footer p {
    color: #ff6b6b;
}

body.light-mode .footer-note {
    color: #4a4a4a;
}

@media (max-width: 768px) {
    .back-button {
        top: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 1rem;
    }

    .back-text {
        display: none;
    }

    .back-icon {
        font-size: 1.8rem;
    }

    header h1 {
        font-size: 3rem;
    }

    .trophy-icon {
        font-size: 3.5rem;
    }

    .fame-grid {
        grid-template-columns: 1fr;
    }

    .fame-title {
        font-size: 1.5rem;
    }
}
.fame-
images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.fame-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(255, 223, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    max-height: 300px;
}

.fame-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 223, 0, 0.6);
    box-shadow: 0 8px 20px rgba(255, 223, 0, 0.4);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 20001;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 15px;
    border: 3px solid rgba(255, 223, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 223, 0, 0.9);
    border: 2px solid rgba(255, 223, 0, 1);
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20002;
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: rgba(255, 107, 107, 0.9);
    border-color: rgba(255, 107, 107, 1);
}

body.light-mode .fame-image {
    border-color: rgba(255, 223, 0, 0.5);
}

body.light-mode .fame-image:hover {
    border-color: rgba(255, 223, 0, 0.8);
}

@media (max-width: 768px) {
    .fame-images {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}
