/* FURORE 2026 - Dayananda Sagar College of Engineering Cultural Fest */
/* Website developed by Arya Sharan (aryasharan@example.com) */
/* Backend development, frontend design, and deployment integration */

:root {
    --black: #090708;
    --black-soft: #120d0d;
    --gold: #d4af37;
    --gold-soft: #f1d88a;
    --crimson: #7a1414;
    --text: #f6e7be;
    --panel: #171212;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 35%),
        radial-gradient(circle at top, #201010 0%, var(--black-soft) 38%, var(--black) 80%);
    color: var(--text);
    font-family: "Cormorant Garamond", serif;
}

body {
    position: relative;
    min-height: 100vh;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(rgba(255, 255, 255, 0.75) 0.5px, transparent 0.5px);
    background-size: 3px 3px;
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(to bottom, rgba(9, 7, 8, 0.9), rgba(9, 7, 8, 0.45));
    backdrop-filter: blur(2px);
}

.logo {
    color: var(--gold);
    text-decoration: none;
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    letter-spacing: 0.04em;
}

.logo span {
    color: var(--text);
}

.main-nav {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: clamp(0.76rem, 2.2vw, 0.95rem);
    transition: all 0.25s ease;
}

.main-nav a:hover {
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

main {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding-bottom: 3rem;
}

.section {
    margin-top: 1.4rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 1rem;
    padding: clamp(1.2rem, 4vw, 3rem);
    background:
        linear-gradient(145deg, rgba(122, 20, 20, 0.28), rgba(13, 11, 11, 0.9)),
        radial-gradient(circle at top center, rgba(212, 175, 55, 0.08), transparent 55%);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-size: clamp(0.72rem, 1.8vw, 0.95rem);
}

h1, h2, h3 {
    font-family: "Cinzel", serif;
    margin: 0.4rem 0 0.7rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.6rem, 6vw, 3.5rem);
}

h2 {
    font-size: clamp(1.25rem, 4.2vw, 2.1rem);
}

h3 {
    font-size: clamp(1rem, 3vw, 1.4rem);
}

p, li, td, th, a, span {
    font-size: clamp(0.9rem, 2.4vw, 1.08rem);
}

.hero-copy {
    max-width: 60ch;
    margin: 0 auto 1.1rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(320px, 56vh, 520px);
    display: grid;
    align-content: center;
    gap: 0.2rem;
    background:
        linear-gradient(180deg, rgba(7, 5, 6, 0.55), rgba(7, 5, 6, 0.85)),
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.22), rgba(0, 0, 0, 0) 38%),
        url("../images/live.png") center/cover no-repeat;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    pointer-events: none;
}

.home-hero::before {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
}

.home-hero::after {
    right: 12px;
    bottom: 12px;
    border-left: none;
    border-top: none;
}

.royal-kicker {
    color: var(--gold-soft);
    margin: 0;
    letter-spacing: 0.08em;
    font-size: clamp(0.82rem, 2.2vw, 1rem);
}

.hero-brand {
    margin: 0.15rem 0 0;
    font-family: "Cinzel Decorative", serif;
    color: var(--gold-soft);
    letter-spacing: 0.08em;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
    font-size: clamp(2rem, 10vw, 6rem);
    line-height: 1;
}

.hero-subcopy {
    margin: 0 auto 1rem;
    color: #f3dd9e;
    font-style: italic;
}

.royal-marquee {
    margin-top: 1rem;
    padding: 0.15rem 0 0.35rem;
    text-align: center;
    font-family: "Cinzel", serif;
    color: var(--gold-soft);
    letter-spacing: 0.08em;
    border: none;
    border-radius: 0;
    background: none;
    position: relative;
}

.royal-marquee::before,
.royal-marquee::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.royal-marquee::before {
    top: 0;
}

.royal-marquee::after {
    bottom: 0;
}

.grand-frame {
    position: relative;
}

.grand-frame::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 0.6rem;
    pointer-events: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-gold {
    color: #241a02;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    color: var(--black);
    background: var(--gold);
}

.card {
    background: linear-gradient(180deg, rgba(28, 20, 20, 0.82), rgba(16, 12, 12, 0.88));
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 0.9rem;
    padding: 1rem;
}

.cluster-mini-grid,
.cluster-grid,
.legend-grid {
    display: grid;
    gap: 0.9rem;
}

.cluster-mini-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    margin-top: 1rem;
}

.mini-card {
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0.75rem;
    padding: 0.7rem;
    background: rgba(0, 0, 0, 0.25);
}

a.mini-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.icon {
    margin: 0;
    font-size: 1.3rem;
}

.cluster-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cluster-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0.9rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(122, 20, 20, 0.2), rgba(8, 8, 8, 0.72));
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cluster-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 175, 55, 0.18);
}

.cluster-top,
.cluster-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.cluster-icon {
    font-size: 1.6rem;
}

.badge {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold);
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    white-space: nowrap;
}

.legend-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.legend-item {
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0.8rem;
    text-align: center;
    padding: 0.8rem 0.6rem;
}

.table-wrap {
    overflow-x: auto;
}

.royal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.royal-table th,
.royal-table td {
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.75rem 0.65rem;
    vertical-align: top;
}

.royal-table thead {
    background: rgba(212, 175, 55, 0.12);
}

.event-desc {
    margin: 0.25rem 0 0;
    color: #dbcfa8;
}

.event-meta {
    margin: 0.2rem 0 0;
    color: #f0dfae;
    font-size: clamp(0.82rem, 2.2vw, 0.98rem);
}

.decrees {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.65rem;
}

.site-footer {
    text-align: center;
    padding: 1rem 0.7rem 1.5rem;
    color: #dbc98e;
}

.footer-links {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gold-soft);
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: clamp(0.78rem, 2.1vw, 0.92rem);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.date-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
    gap: 0.2rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.8rem;
}

.date-strip div {
    border: none;
    border-right: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0;
    padding: 0.6rem 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold-soft);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
    transition: all 0.3s ease;
}

.date-strip div:hover {
    color: var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.06));
    transform: translateY(-1px);
}

.date-strip div:last-child {
    border-right: none;
}

.dsce-spotlight {
    display: grid;
    gap: 1rem;
    align-items: center;
}

.dsce-logo-wrap {
    width: min(160px, 35vw);
    margin: 0 auto;
}

.dsce-logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.stats-grid article {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.55rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stats-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.48);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.stats-grid h3 {
    color: var(--gold);
    margin: 0;
}

.stats-grid p {
    margin: 0.25rem 0 0;
}

.motif-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.2rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.motif-grid article {
    border: none;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0;
    background: none;
    padding: 0.4rem 0.75rem;
    text-align: center;
    color: #efdda8;
}

.motif-grid article:last-child {
    border-right: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-grid figure {
    margin: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) contrast(1.05);
    transition: transform 0.35s ease;
}

.gallery-grid figure:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.gallery-grid figure:hover img {
    transform: scale(1.045);
}


@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (min-width: 768px) {
    .site-header {
        padding: 1rem 2.6rem;
    }

    main {
        width: min(1140px, 90%);
    }

    .card {
        padding: 1.35rem;
    }

    .dsce-spotlight {
        grid-template-columns: 180px 1fr;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    /* Navigation */
    .site-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Hero Section */
    .home-hero {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .hero-brand {
        font-size: 3rem;
    }
    
    .hero-copy {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Cards and Sections */
    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Cluster Grids */
    .cluster-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cluster-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Date Strip */
    .date-strip {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
        padding: 0.4rem;
        margin: 0.6rem 0;
    }
    
    .date-strip div {
        font-size: 1.2rem;
        padding: 0.5rem 0.8rem;
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: 0.6rem;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
    }
    
    /* DSCE Spotlight */
    .dsce-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .dsce-logo-wrap img {
        max-width: 150px;
        margin: 0 auto;
    }
    
    /* Text Sizes */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Mini Cards */
    .mini-card {
        padding: 1rem;
        text-align: center;
    }
    
    /* Motif Grid */
    .motif-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .site-header {
        padding: 1rem 1rem;
    }
    
    .home-hero {
        padding: 1.5rem 1rem;
    }
    
    .hero-brand {
        font-size: 2.5rem;
    }
    
    .hero-kicker {
        font-size: 0.9rem;
    }
    
    .hero-copy {
        font-size: 1rem;
    }
    
    .hero-subcopy {
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* Cluster Mini Grid */
    .cluster-mini-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Cards */
    .card {
        padding: 1rem;
    }
    
    /* Text */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Navigation */
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 320px) {
    /* Very Small Mobile */
    .hero-brand {
        font-size: 2rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
    
    .card {
        padding: 0.8rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
}
