/* Previous Edition Specific Styles */

.previous-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/previous/hero-bg.jpg') center/cover;
}

.event-date {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* Download Report Button */
.btn-download-report {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 247, 255, 0.3);
}

.btn-download-report:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.4);
}

.btn-download-report i {
    font-size: 1.2rem;
}

@media screen and (max-width: 480px) {
    .btn-download-report {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Special Category Awards Section */
.special-awards-section {
    margin-top: 4rem;
}

@media screen and (max-width: 768px) {
    .special-awards-section {
        margin-top: 3rem;
    }
}


/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Glimpses Section */
.glimpses {
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.glimpses .container {
    max-width: 100%;
    padding: 0 2rem;
    overflow: hidden;
}

.glimpses-grid {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    overflow-x: hidden;
    position: relative;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.glimpses-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 5));
    }
}

.glimpse-card {
    min-width: 200px;
    height: 240px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glimpse-card:hover {
    transform: scale(1.02);
}

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

.glimpse-card:hover img {
    transform: scale(1.1);
}

.glimpse-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .glimpses .container {
        padding: 0 1rem;
    }

    .glimpse-card {
        min-width: 180px;
        height: 220px;
    }

    .glimpse-overlay {
        font-size: 1rem;
        padding: 0.8rem;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 5));
        }
    }
}

/* Hide scroll buttons as we're using CSS animation */
.scroll-btn {
    display: none !important;
}

/* Winners Section */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.winner-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.winner-card.first {
    border: 1px solid gold;
}

.winner-card.second {
    border: 1px solid silver;
}

.winner-card.third {
    border: 1px solid #cd7f32;
}

.winner-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

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

.winner-card:hover .winner-image img {
    transform: scale(1.1);
}

.prize-amount {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-info {
    margin-top: 1.5rem;
}

.team-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.college {
    color: var(--gray-text);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--gray-text);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Sponsors Section */
.sponsors {
    padding: 80px 0;
    background: var(--darker-bg);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 300px;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.sponsor-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.sponsor-card h3 {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    padding: 0 1rem;
}

/* Winner Showcase Section */
.winner-showcase {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 1200px;
    width: 90%;
}

.winner-showcase:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.winner-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.winner-image {
    width: 300px;
    height: 300px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.winner-image:hover img {
    transform: scale(1.05);
}

.winner-showcase-text h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.winner-showcase-text p {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 247, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.achievement-badge i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.achievement-badge span {
    color: var(--light-text);
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .winner-showcase-content {
        grid-template-columns: 1fr;
    }

    .winner-showcase {
        padding: 1.5rem;
    }

    .winner-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .winner-showcase-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .winner-showcase-text p {
        font-size: 1rem;
        text-align: center;
    }

    .achievement-badge {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 480px) {
    .winner-image {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .glimpses-grid {
        grid-template-columns: 1fr;
    }

    .winners-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-logos {
        gap: 2rem;
    }

    .sponsor-logos img {
        max-width: 150px;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card i {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .winner-image {
        height: 180px;
    }

    .member-image {
        width: 120px;
        height: 120px;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-text {
        padding: 1rem;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .highlight-item {
        padding: 1.5rem;
    }

    .highlight-item i {
        font-size: 2rem;
    }

    .highlight-item h3 {
        font-size: 1.8rem;
    }

    .geometric-background {
        opacity: 0.05;
    }

    .cube {
        width: 80px;
        height: 80px;
    }

    .winners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .winner-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .glimpses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .glimpse-card {
        height: 200px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sponsor-card {
        padding: 1.5rem;
        height: 250px;
    }

    .sponsor-card img {
        width: 150px;
        height: 150px;
    }

    .sponsor-card h3 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .event-date {
        font-size: 1.2rem;
    }

    .sponsor-logos img {
        max-width: 120px;
    }

    .winner-image {
        height: 160px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 1.2rem;
    }

    .highlight-item h3 {
        font-size: 1.5rem;
    }

    .glimpses-grid {
        grid-template-columns: 1fr;
    }

    .glimpse-card {
        height: 180px;
    }

    .cube {
        width: 60px;
        height: 60px;
    }

    .face {
        border-width: 1px;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-card {
        height: auto;
        padding: 1.5rem;
    }

    .sponsor-card img {
        width: 180px;
        height: 180px;
    }
}

/* Highlights Section */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 247, 255, 0.1) 0%,
            rgba(112, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.highlight-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0.5rem 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

.highlight-item p {
    color: var(--gray-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .highlight-item {
        padding: 1.5rem;
    }

    .highlight-item i {
        font-size: 2rem;
    }

    .highlight-item h3 {
        font-size: 2rem;
    }

    .highlight-item p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        padding: 1.5rem;
    }

    .highlight-item h3 {
        font-size: 2.2rem;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 247, 255, 0.05) 0%,
            rgba(112, 0, 255, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.about-text:hover::before {
    opacity: 1;
}

.about-text h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.about-text p {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* 3D Geometric Background */
.geometric-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
    opacity: 0.1;
}

.cube2 {
    top: 20%;
    right: 10%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.cube3 {
    bottom: 15%;
    left: 15%;
    animation-duration: 30s;
    animation-delay: -10s;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.front {
    transform: rotateY(0deg) translateZ(50px);
}

.back {
    transform: rotateY(180deg) translateZ(50px);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.top {
    transform: rotateX(90deg) translateZ(50px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

@keyframes rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Ensure content stays above background */
.container {
    position: relative;
    z-index: 1;
}

/* Footer Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: center;
    }

    .footer-logo-img {
        display: block;
        margin: 0 auto 1rem;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer h4 {
        display: block;
        text-align: center;
        width: 100%;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .footer h4 {
        font-size: 1rem;
        text-align: center;
    }

    .footer-contact p {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        text-align: center;
    }
}