:root {
    --gold: #c9a84c;
    --gold-light: #e6cc80;
    --gold-dark: #a68636;
    --dark-bg: #0d0d0d;
    --dark-surface: #1a1a1a;
    --dark-card: #222222;
    --dark-border: #333333;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-border);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 2px;
}

.navbar-brand span {
    color: var(--text-primary);
    font-weight: 300;
    font-size: 0.9rem;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.4) 0%,
        rgba(13, 13, 13, 0.2) 50%,
        rgba(13, 13, 13, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 15vh;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.4rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .accent {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-btn:hover {
    background: transparent;
    color: var(--gold);
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 3px;
    background: var(--gold);
    opacity: 0.4;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}

/* Section Common */
.section {
    padding: 6rem 0;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .accent {
    color: var(--gold);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    line-height: 1.7;
}

.section-desc.centered {
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem 0;
}

.divider.centered {
    margin: 1.5rem auto;
}

/* About */
.about-section {
    background: var(--dark-surface);
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(0.85);
}

.about-image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    z-index: -1;
    opacity: 0.4;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Regulations */
.regulations-section {
    background: var(--dark-bg);
}

.reg-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.reg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.reg-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-5px);
}

.reg-card:hover::before {
    transform: scaleX(1);
}

.reg-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.reg-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.reg-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* News */
.news-section {
    background: var(--dark-surface);
}

.news-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.news-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-body {
    padding: 1.5rem;
}

.news-tag {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-body h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.news-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.news-link:hover {
    color: var(--gold-light);
    gap: 0.8rem;
}

/* Partners & Organizers */
.partners-section {
    background: var(--dark-bg);
}

.partner-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.partner-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-5px);
}

.partner-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 2px solid var(--dark-border);
    transition: border-color 0.3s ease;
}

.partner-card:hover .partner-logo {
    border-color: var(--gold);
}

.partner-card h5 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Founders */
.founders-section {
    background: var(--dark-surface);
}

.founder-card {
    text-align: center;
    padding: 2rem;
}

.founder-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 1.2rem;
    filter: grayscale(30%);
    transition: all 0.4s ease;
}

.founder-card:hover .founder-avatar {
    filter: grayscale(0);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.founder-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.founder-card .role {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.founder-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    cursor: pointer;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* Placeholder images */
.placeholder-img {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

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

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

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content {
        padding-top: 20vh;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .about-image-frame {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slider .carousel-item {
        height: 80vh;
        min-height: 500px;
    }

    .hero-content {
        padding-top: 15vh;
    }

    .about-stats {
        justify-content: center;
    }

    .navbar-brand span {
        display: none;
    }
}
