/* Center single mentor card in grid */
.mentor-card-center {
    grid-column: 1 / -1;
    justify-self: center;
}
/* Gallery Card Consistent Size */
.gallery-card {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 24, 28, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px #18181c;
    margin: 0;
    overflow: hidden;
}
.gallery-card img.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: zoom-in;
    box-shadow: none;
}
/* Shift rules content to the right for Terms and Conditions section */
.tandc-outer {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 900px;
    display: block;
    width: 100%;
}
/* Ensure mentor names are always visible - Enhanced for all devices */
.mentor-card h3 {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0.7rem 0 0.2rem !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
}

/* Additional specificity for mentor names */
.mentor-card .mentor-name,
.mentor-card h3.mentor-name,
.mentor-card > h3 {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0.7rem 0 0.2rem !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
}

/* Ensure mentor names are visible on all screen sizes */
@media (min-width: 768px) {
    .mentor-card h3 {
        color: #ffffff !important;
        font-size: 1.2rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
        margin: 0.8rem 0 0.3rem !important;
    }
}

@media (min-width: 1024px) {
    .mentor-card h3 {
        color: #ffffff !important;
        font-size: 1.3rem !important;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 1) !important;
        margin: 1rem 0 0.4rem !important;
    }
}

@media (min-width: 1200px) {
    .mentor-card h3 {
        color: #ffffff !important;
        font-size: 1.4rem !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 1) !important;
        margin: 1.1rem 0 0.5rem !important;
    }
}

/* Force visibility override for any conflicting styles */
.mentor-card h3,
.mentor-card .mentor-name,
.mentor-card > h3 {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Prevent line breaks for specific T&C words */
.nowrap {
    white-space: nowrap;
}
/* Terms & Conditions (T&C) Section - Modern Pink Highlighted Style */
.tandc-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}
.rules-btn {
    background: #18181c;
    color: #ffb6c1;
    border: none;
    border-radius: 2rem;
    font-family: "Inter", "Poppins", Arial, monospace;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 28px 8px 18px;
    margin-bottom: 8px;
    box-shadow: 0 0 16px 2px #ffb6c1, 0 2px 8px #18181c;
    position: relative;
    cursor: default;
    outline: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    transition: box-shadow 0.2s;
}
.rules-btn i {
    margin-right: 6px;
}
.tandc-title {
    font-family: "Poppins", "Inter", Arial, sans-serif;
    font-size:3rem;
    font-weight: 700;
    color: #ffd54f;
    text-align: center;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 140, 66, 0.6);
}
.tandc-title span {
    color: inherit;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tandc-content {
    background: none;
    border-radius: 0.7rem;
    padding: 0 0 0 0;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.15rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tandc-subtitle {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    display: block;
}
.tandc-list {
    list-style: disc inside;
    padding-left: 0;
    margin: 0 auto;
    color: #fff;
    font-family: "Poppins", "Inter", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 2.1;
    letter-spacing: 0.2px;
    display: block;
    width: 100%;
    max-width: 800px;
    position: relative;
    left: 0;
    transform: none;
}
.tandc-list li {
    margin-bottom: 0.5rem;
    font-family: "Poppins", "Inter", Arial, sans-serif;
    font-size: 1.15rem;
    color: #fff;
    word-break: break-word;
    width: 100%;
    max-width: 800px;
    text-align: left;
    padding-left: 0.5em;
    box-sizing: border-box;
    display: list-item;
    white-space: normal;
    overflow-x: visible;
}
.terms {
    background: #18181c;
    border-radius: 1.2rem;
    box-shadow: 0 0 32px 0 rgba(255, 182, 193, 0.08);
    padding: 32px 0 32px 0;
    margin: 0 0 0px 0;
}
@media (max-width: 700px) {
    .tandc-title {
        font-size: 3rem;
    }
    .tandc-content {
        font-size: 1rem;
        padding: 0 0 0 0;
    }
    .tandc-list li {
        font-size: 1rem;
    }
    .terms {
        padding: 18px 0 18px 0;
    }
}
/* Organising Heads Section Layout */
.heads-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    width: 100%;
    margin: 0 auto 48px auto;
    max-width: 1500px;
}
.heads-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    justify-content: center;
    width: 100%;
}
.heads-row:first-child {
    max-width: 900px;
}
.heads-row:nth-child(2),
.heads-row:nth-child(3) {
    max-width: 1400px;
}
.head-card {
    background: rgba(72, 52, 52, 0.12);
    border-radius: px;
    box-shadow: 0 8px 32px rgba(255, 213, 79, 0.13);
    /* padding: 38px 28px 24px 28px; */
    padding-top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    min-width: 220px;
    max-width: 300px;
    transition: box-shadow 0.3s;
}
.head-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    margin-bottom: 20px;
    background: #181818;
    box-shadow: 0 6px 28px rgba(255, 213, 79, 0.16);
}
.head-card h3 {
    font-size: 1.45rem;
    color: #ffd54f;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
}
.head-card .designation {
    font-size: 1.1rem;
    color: #f3f0ec;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
}
@media (max-width: 900px) {
    .heads-row {
        gap: 18px;
    }
    .head-card {
        width: 180px;
        padding: 18px 8px 10px 8px;
    }
    .head-card img {
        width: 110px;
        height: 110px;
    }
    .head-card h3 {
        font-size: 1.1rem;
    }
    .head-card .designation {
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .heads-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .head-card {
        width: 96vw;
        max-width: 340px;
    }
}
/* Modern About Amity section */
.about-amity-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    justify-content: center;
    padding: 20px 0 15px 0;
}
.about-amity-img {
    max-width: 1100px;
    min-width: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;
}
.about-amity-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(255, 213, 79, 0.18),
        0 0 0 0 rgba(255, 213, 79, 0.1);
    object-fit: cover;
    animation: amityGlow 2.5s ease-in-out infinite;
}
.about-amity-content {
    flex: 2 1 340px;
    min-width: 280px;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 0;
    text-align: center;
    padding: 0 15px;
}
.about-amity-content .section-title,
.about-amity-content .section-subtitle {
    text-align: center;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.about-amity-content .section-title {
    margin-bottom: 8px;
    font-size: 3rem;
    font-weight: 700;
    color: #ffd54f;
}
.about-amity-content .section-subtitle {
    margin-bottom: 18px;
    font-size: 1.5rem;
    color: #eeab00;
    font-weight: 500;
}
.about-amity-desc {
    font-size: 1.35rem;
    color: #f3f0ec;
    margin-bottom: 22px;
    line-height: 1.7;
}
.about-amity-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    margin-bottom: 0;
    width: 100%;
    max-width: 800px;
}
.amity-stat {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 120px;
    text-align: center;
    margin: 0 0 8px 0;
    transition: none;
}
.amity-stat:hover {
    transform: none;
    box-shadow: none;
}
.amity-stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffd54f;
    margin-bottom: 2px;
}
.amity-stat-label {
    font-size: 1.1rem;
    color: #f3f0ec;
    font-weight: 500;
}
@media (max-width: 900px) {
    .about-amity-modern {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0 15px 0;
    }
    .about-amity-content {
        align-items: center;
        text-align: center;
        max-width: 95vw;
        width: 95vw;
        padding: 0 10px;
    }
    .about-amity-content .section-title {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }
    .about-amity-content .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    .about-amity-desc {
        font-size: 1.1rem !important;
        line-height: 1.6;
        margin-bottom: 8px !important;
    }
    .about-amity-img {
        margin-top: 15px;
        margin-bottom: 15px;
        max-width: 95vw;
        padding: 0 10px;
    }
    .about-amity-img img {
        border-radius: 16px;
        max-height: 250px;
        object-fit: cover;
    }
    .about-amity-stats {
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
        padding: 0 10px;
        flex-wrap: wrap;
    }
    .amity-stat {
        min-width: 120px;
    }
    .amity-stat-number {
        font-size: 1.8rem;
    }
    .amity-stat-label {
        font-size: 1rem;
    }
}
/* Desktop About Amity Stats - Keep in same line */
@media (min-width: 901px) {
    .about-amity-stats {
        flex-wrap: nowrap;
        gap: 30px;
        max-width: 900px;
    }
    
    .amity-stat {
        min-width: 140px;
        flex: 1;
    }
}

/* Large Desktop About Amity Stats - Optimized spacing */
@media (min-width: 1200px) {
    .about-amity-stats {
        gap: 40px;
        max-width: 1000px;
    }
    
    .amity-stat {
        min-width: 160px;
    }
}

/* Tablet About Amity Stats - Flexible layout */
@media (min-width: 768px) and (max-width: 900px) {
    .about-amity-stats {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }
    
    .amity-stat {
        min-width: 130px;
    }
}

/* Additional mobile optimizations for About Amity section */
@media (max-width: 768px) {
    .about-amity-content .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    .about-amity-content .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .about-amity-desc {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 12px !important;
        padding: 0 5px;
    }
    .about-amity-img {
        margin-top: 12px;
        margin-bottom: 12px;
        max-width: 90vw;
        padding: 0 5px;
    }
    .about-amity-img img {
        border-radius: 14px;
        max-height: 220px;
    }
    .about-amity-stats {
        gap: 15px;
        margin-top: 12px;
        flex-wrap: wrap;
    }
    .amity-stat {
        min-width: 100px;
        flex: 1;
        max-width: 140px;
    }
    .amity-stat-number {
        font-size: 1.6rem;
    }
    .amity-stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-amity-modern {
        gap: 15px;
        padding: 15px 0 10px 0;
    }
    .about-amity-content {
        max-width: 92vw;
        width: 92vw;
        padding: 0 5px;
    }
    .about-amity-content .section-title {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    .about-amity-content .section-subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .about-amity-desc {
        font-size: 0.95rem !important;
        line-height: 1.4;
        margin-bottom: 10px !important;
        padding: 0 8px;
    }
    .about-amity-img {
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 88vw;
        padding: 0 3px;
    }
    .about-amity-img img {
        border-radius: 12px;
        max-height: 180px;
    }
    .about-amity-stats {
        gap: 12px;
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .amity-stat {
        min-width: auto;
        flex: none;
        max-width: none;
        text-align: center;
    }
    .amity-stat-number {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }
    .amity-stat-label {
        font-size: 0.85rem;
        line-height: 1.2;
    }
}

/* Enhanced Mentor Card Background for Better Text Visibility */
.mentor-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(24, 24, 28, 0.9) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.mentor-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 177, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mentor-card:hover::after {
    opacity: 1;
}

/* Ensure mentor images are not cropped at the top */
.mentor-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    background: #181818;
    transition: transform 0.3s ease;
}

/* Mentor grid layout for Faculty Mentors section - Fallback styles */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    margin: 0 auto 32px auto;
    max-width: 1400px;
}

/* Additional Mobile Optimizations */
@media (max-width: 900px) {
    .mentor-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .mentor-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .mentor-grid {
        display: block;
    }
    
    .mentor-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px 8px;
        margin-bottom: 16px;
        justify-items: center;
        align-items: start;
    }
    
    .mentor-card {
        width: 100% !important;
        max-width: 170px !important;
        height: 190px !important;
        min-height: 190px !important;
        padding: 14px 10px 8px 10px !important;
    }
    
    .mentor-card img {
        width: 140px !important;
        height: 140px !important;
        margin-bottom: 6px !important;
    }
    
    .mentor-card h3 {
        font-size: 0.9rem !important;
        margin: 8px 0 2px 0 !important;
        line-height: 1.1 !important;
    }
    
    .mentor-card p {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 600px) {
    .mentor-row {
        gap: 12px 8px;
    }
    
    .mentor-card {
        max-width: 160px !important;
        height: 190px !important;
        min-height: 190px !important;
        padding: 12px 8px 6px 8px !important;
    }
    
    .mentor-card img {
        width: 130px !important;
        height: 130px !important;
    }
}

@media (max-width: 480px) {
    .mentor-card img {
        height: 160px;
    }
}

/* Enhanced Faculty Mentors Section Styling */
.faculty-mentors {
    position: relative;
    overflow: hidden;
}

.faculty-mentors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    
    opacity: 0.6;
}

.faculty-mentors .section-header {
    position: relative;
    z-index: 2;
}

.faculty-mentors .section-title {
    background: linear-gradient(135deg, #ffb100, #ffd54f, #ffb100);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 177, 0, 0.3);
}

.faculty-mentors .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Loading Animation for Mentor Cards */
@keyframes mentorCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mentor-card {
    animation: mentorCardFadeIn 0.6s ease-out forwards;
}

.mentor-card:nth-child(1) { animation-delay: 0.1s; }
.mentor-card:nth-child(2) { animation-delay: 0.2s; }
.mentor-card:nth-child(3) { animation-delay: 0.3s; }
.mentor-card:nth-child(4) { animation-delay: 0.4s; }
.mentor-card:nth-child(5) { animation-delay: 0.5s; }
.mentor-card:nth-child(6) { animation-delay: 0.6s; }
.mentor-card:nth-child(7) { animation-delay: 0.7s; }
.mentor-card:nth-child(8) { animation-delay: 0.8s; }
.mentor-card:nth-child(9) { animation-delay: 0.9s; }
.mentor-card:nth-child(10) { animation-delay: 1.0s; }
.mentor-card:nth-child(11) { animation-delay: 1.1s; }
.mentor-card:nth-child(12) { animation-delay: 1.2s; }

/* Disable animations on mobile for better performance */
@media (max-width: 768px) {
    .mentor-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* Center last mentor row for Geetika and Supriya */
.mentor-row-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin-top: 24px;
    width: 100%;
}
@media (max-width: 700px) {
    .mentor-row-center {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
.terms-static {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Caramel Color Palette - CyberCup 5.0 */
:root {
    /* Pantone Color of the Year Inspired Palette */
    --mocha-mousse: #a47764;
    --maple-sugar: #cd8856;
    --cream: #f0dbce;
    --espresso: #694431;
    --buttercream: #facea0;
    --vintage-pink: #d082ac;
    --plum: #553062;
    --baileys-latte: #dbbe98;
    --powder: #59a4b1;
    --blueberry: #00447c;
    --cocoa: #6e4b3b;
    --papaya-tea: #e5641e;
    --24k: #eeab00;

    /* Primary Colors */
    --primary: var(--mocha-mousse);
    --secondary: var(--maple-sugar);
    --accent: var(--buttercream);
    --dark: var(--espresso);
    --light: var(--cream);

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        var(--mocha-mousse) 0%,
        var(--maple-sugar) 50%,
        var(--buttercream) 100%
    );
    --gradient-secondary: linear-gradient(
        135deg,
        var(--espresso) 0%,
        var(--mocha-mousse) 50%,
        var(--maple-sugar) 100%
    );
    --gradient-accent: linear-gradient(
        135deg,
        var(--buttercream) 0%,
        var(--vintage-pink) 100%
    );
    --gradient-dark: linear-gradient(
        135deg,
        var(--espresso) 0%,
        var(--cocoa) 50%,
        var(--plum) 100%
    );
    --gradient-gold: linear-gradient(
        135deg,
        var(--24k) 0%,
        var(--papaya-tea) 100%
    );

    /* Shadows */
    --shadow-primary: 0 10px 30px rgba(164, 119, 100, 0.3);
    --shadow-secondary: 0 20px 40px rgba(205, 136, 86, 0.2);
    --shadow-dark: 0 20px 40px rgba(105, 68, 49, 0.5);
    --shadow-gold: 0 15px 35px rgba(238, 171, 0, 0.4);
}
/* Enhanced Theme Section Animations - Removed conflicting background overlays */

.theme-card {
    background: rgba(72, 52, 52, 0.08);
    border: 1px solid rgba(72, 52, 52, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.theme-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 66, 0.1) 0%,
        rgba(103, 125, 106, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    ;
}

.theme-card:hover::after {
    /* Hover effect removed */
}

/* Theme Visual Elements */
.theme-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.theme-text h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.theme-text p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.theme-btn {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
}

/* ===== THEMES SECTION - MODERN RESPONSIVE DESIGN ===== */

/* Base Themes Grid - Fluid Container */
.themes-section .themes-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: min(1400px, 95vw);
    margin: clamp(2rem, 8vh, 4rem) auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem);
    gap: clamp(3rem, 8vh, 6rem);
    min-height: fit-content;
    container-type: inline-size;
}

/* Theme Container - Laptop Optimized Layout */
.themes-section .theme-container {
    background: linear-gradient(
        135deg,
        rgba(86, 28, 36, 0.95) 0%,
        rgba(3, 7, 18, 0.98) 50%,
        rgba(86, 28, 36, 0.95) 100%
    );
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    min-height: auto;
    height: auto;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(255, 140, 66, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    gap: 3rem;
    box-sizing: border-box;
}

/* Theme Content - Left Side Layout */
.themes-section .theme-container .theme-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    max-width: 100%;
    text-align: left;
    position: relative;
    z-index: 5;
    padding: 0;
    min-height: 0;
    height: auto;
    margin-right: 2rem;
}

/* Theme Title - Top Section */
.themes-section .theme-container .theme-title {
    font-size: 2.2rem;
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    hyphens: auto;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
    position: relative;
    z-index: 10;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    width: 100%;
    height: auto;
    min-height: 0;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

/* Theme Description - Below Title with Gap */
.themes-section .theme-container .theme-description {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
    overflow-wrap: break-word;
    position: relative;
    z-index: 5;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    width: 100%;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

/* Theme Animation - Right Side */
.themes-section .theme-container .theme-animation {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    overflow: hidden;
    align-self: flex-start;
    margin-left: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.2);
    position: relative;
    z-index: 8;
}

/* ===== COMPREHENSIVE LAPTOP RESPONSIVE BREAKPOINTS ===== */

/* Ultra Wide Desktop (1600px+) */
@media (min-width: 1600px) {
    .themes-section .theme-container {
        max-width: 1400px;
        padding: 4rem;
        gap: 4rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 2.5rem;
        margin-right: 3rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2.5rem;
        padding: 1.5rem 2rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.6rem;
        padding: 2rem 2.5rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 380px;
        height: 380px;
        margin-left: 3rem;
    }
}

/* Large Desktop (1400px - 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
    .themes-section .theme-container {
        max-width: 1300px;
        padding: 3.5rem;
        gap: 3.5rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 2.25rem;
        margin-right: 2.5rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2.35rem;
        padding: 1.25rem 1.75rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.5rem;
        padding: 1.75rem 2.25rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 350px;
        height: 350px;
        margin-left: 2.5rem;
    }
}

/* Standard Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .themes-section .theme-container {
        max-width: 1200px;
        padding: 3rem;
        gap: 3rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 2rem;
        margin-right: 2rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2.2rem;
        padding: 1rem 1.5rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.4rem;
        padding: 1.5rem 2rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 320px;
        height: 320px;
        margin-left: 2rem;
    }
}

/* Large Laptop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .themes-section .theme-container {
        max-width: 1000px;
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 1.75rem;
        margin-right: 1.75rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2rem;
        padding: 0.875rem 1.25rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.3rem;
        padding: 1.25rem 1.75rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 300px;
        height: 300px;
        margin-left: 1.75rem;
    }
}

/* Medium Laptop (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
    .themes-section .theme-container {
        max-width: 900px;
        padding: 2.25rem;
        gap: 2.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .themes-section .theme-container .theme-content {
        gap: 1.5rem;
        margin-right: 0;
        align-items: center;
        text-align: center;
    }

    .themes-section .theme-container .theme-title {
        font-size: 1.9rem;
        padding: 0.875rem 1.25rem;
        text-align: center;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.25rem;
        padding: 1.25rem 1.75rem;
        text-align: center;
    }

    .themes-section .theme-container .theme-animation {
        width: 280px;
        height: 280px;
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Small Laptop (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .themes-section .theme-container {
        max-width: 800px;
        padding: 2rem;
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .themes-section .theme-container .theme-content {
        gap: 1.25rem;
        margin-right: 0;
        align-items: center;
        text-align: center;
    }

    .themes-section .theme-container .theme-title {
        font-size: 1.8rem;
        padding: 0.75rem 1.25rem;
        text-align: center;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.2rem;
        padding: 1.25rem 1.75rem;
        text-align: center;
    }

    .themes-section .theme-container .theme-animation {
        width: 260px;
        height: 260px;
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Zigzag Layout - Alternating Flex Direction */
.themes-section .theme-container:nth-child(odd) {
    flex-direction: row;
    margin-left: 0;
    margin-right: auto;
    transform: translateX(-4rem);
}

.themes-section .theme-container:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
    margin-right: 0;
    transform: translateX(4rem);
}

/* Themes Grid Container Spacing */
.themes-section .themes-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Theme Content - Bootstrap Ready */
.themes-section .theme-container .theme-content {
    /* Bootstrap will handle all styling */
}

/* Theme Title - Bootstrap Ready */
.themes-section .theme-container .theme-title {
    /* Bootstrap will handle all styling */
}

/* Theme Description - Bootstrap Ready */
.themes-section .theme-container .theme-description {
    /* Bootstrap will handle all styling */
}

/* Team Capacity - Bootstrap Ready */
.themes-section .theme-container .team-capacity {
    /* Bootstrap will handle all styling */
}

/* Theme Animation - Right Side GIF */
.themes-section .theme-container .theme-animation {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    overflow: hidden;
    align-self: flex-start;
    margin-left: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.2);
}

.themes-section .theme-container .theme-animation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.3s ease;
}

/* Enhanced Hover Effects - All Removed */
.themes-section .theme-container:hover {
    /* Hover effect removed */
}

.themes-section .theme-container:nth-child(odd):hover {
    /* Hover effect removed */
}

.themes-section .theme-container:nth-child(even):hover {
    /* Hover effect removed */
}

.themes-section .theme-container:hover .theme-animation img {
    /* Hover effect removed */
}

.theme-card[data-theme="iot"] {
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.9) 0%,
        rgba(160, 82, 45, 0.8) 50%,
        rgba(205, 133, 63, 0.7) 100%
    );
}

.theme-card[data-theme="blockchain"] {
    background: linear-gradient(
        135deg,
        rgba(75, 0, 130, 0.9) 0%,
        rgba(138, 43, 226, 0.8) 50%,
        rgba(147, 112, 219, 0.7) 100%
    );
}

.theme-card[data-theme="ai"] {
    background: linear-gradient(
        135deg,
        rgba(25, 25, 112, 0.9) 0%,
        rgba(65, 105, 225, 0.8) 50%,
        rgba(100, 149, 237, 0.7) 100%
    );
}

/* Theme Content - Rectangular Layout */
.theme-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.theme-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.theme-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Problem Statements Button */
.problem-statements-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.problem-statements-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    backdrop-filter: blur(10px);
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 35%;
    right: 8%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-icon.icon-4 {
    top: 75%;
    right: 12%;
    animation-delay: 3s;
}

.floating-icon.icon-5 {
    top: 45%;
    right: 25%;
    animation-delay: 4s;
}

.floating-icon.icon-6 {
    top: 85%;
    right: 30%;
    animation-delay: 5s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Enhanced Hero Section Responsive Design */
@media (max-width: 1400px) {
    .hero-content {
        max-width: 1200px;
        margin: clamp(120px, 15vh, 195px) auto;
        margin-left: calc(50% - 600px + 60px);
        margin-right: calc(50% - 600px - 35px);
        gap: clamp(2rem, 5vw, 6rem);
        padding-left: clamp(25px, 4vw, 40px);
    }

    .hero-title {
        font-size: clamp(3.5rem, 7vw, 6.2rem);
        left: clamp(-6%, -3vw, -2%);
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        left: clamp(-5%, -2.5vw, -2%);
    }

    .hero-description {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        max-width: clamp(100%, 105vw, 110%);
        width: clamp(100%, 105vw, 110%);
        margin-left: clamp(-5%, -2.5vw, -2%);
        margin-right: clamp(-5%, -2.5vw, -2%);
        overflow-wrap: break-word;
        hyphens: auto;
        /* Add right padding to prevent overlap */
        padding-right: clamp(1rem, 3vw, 2rem);
    }

    .hero-logo-container {
        top: calc(50% + 120px);
        right: clamp(2%, 6vw, 8%);
        max-width: min(350px, 32vw);
    }
}

@media (max-width: 1800px) {
    .hero-description {
        max-width: clamp(100%, 104vw, 108%);
        width: clamp(100%, 104vw, 108%);
        margin-right: clamp(-4.5%, -2.5vw, -2%);
        padding-right: clamp(1.5rem, 4vw, 2.5rem);
    }
}

@media (max-width: 1600px) {
    .hero-description {
        max-width: clamp(100%, 103vw, 107%);
        width: clamp(100%, 103vw, 107%);
        margin-right: clamp(-4%, -2vw, -1.5%);
        padding-right: clamp(2rem, 5vw, 3rem);
    }
}

@media (max-width: 1400px) {
    .hero-description {
        max-width: clamp(100%, 102vw, 105%);
        width: clamp(100%, 102vw, 105%);
        margin-right: clamp(-3%, -1.5vw, -1%);
    }
}

@media (max-width: 1200px) {
    .hero-content {
        gap: clamp(3rem, 4vw, 5rem);
        padding: 0 clamp(15px, 3vw, 30px);
        padding-left: clamp(25px, 4vw, 40px);
    }

    .hero-title {
        font-size: clamp(3rem, 6vw, 5rem);
        left: 0;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 2.2vw, 1.3rem);
        left: 0;
    }

    .hero-description {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-logo-container {
        top: calc(50% + 120px);
        right: clamp(1%, 4vw, 6%);
        max-width: min(300px, 28vw);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        margin: clamp(100px, 12vh, 140px) auto;
    }

    .hero-text {
        order: 1;
    }

    .hero-logo-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        order: 2;
        margin: 2rem auto 0;
        max-width: min(280px, 60vw);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title,
    .hero-subtitle,
    .typing-container,
    .hero-description {
        text-align: center;
        left: 0;
        top: 0;
        position: static;
    }

    .hero-features {
        left: 0;
        top: 0;
        position: static;
        justify-content: center;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE BREAKPOINTS ===== */

/* Container Query Responsive Design (Modern Approach) */
@container (max-width: 900px) {
    .themes-section .theme-container {
        flex-direction: column !important;
        text-align: center;
        max-width: min(600px, 85cqw);
        gap: clamp(1rem, 3cqw, 2rem);
    }

    .themes-section .theme-container:nth-child(odd),
    .themes-section .theme-container:nth-child(even) {
        transform: none;
        margin: 0 auto;
    }

    .themes-section .theme-container .theme-content {
        text-align: center;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(180px, 40cqw, 280px);
        height: clamp(180px, 40cqw, 280px);
    }
}

/* Large Desktop Optimization */
@media (min-width: 1400px) {
    .themes-section .themes-grid {
        max-width: 1600px;
        gap: 5rem;
        padding: 4rem;
    }

    .themes-section .theme-container {
        max-width: 1300px;
        padding: 4rem;
        gap: 4rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 2.5rem;
        margin-right: 3rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2.5rem;
        padding: 1.5rem 2rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.6rem;
        padding: 2rem 2.5rem;
    }

    .themes-section .theme-container .team-capacity {
        font-size: 1.2rem;
        padding: 1.5rem 2rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 380px;
        height: 380px;
        margin-left: 3rem;
    }

    .themes-section .theme-container:nth-child(odd) {
        transform: translateX(-5rem);
    }

    .themes-section .theme-container:nth-child(even) {
        transform: translateX(5rem);
    }
}

/* Laptop-Specific Theme Container Optimizations */
@media (min-width: 1024px) and (max-width: 1399px) {
    .themes-section .theme-container {
        max-width: 1100px;
        padding: 3rem;
        gap: 3rem;
        min-height: auto;
        height: auto;
        align-items: flex-start;
    }

    .themes-section .theme-container .theme-content {
        gap: 2rem;
        padding: 0;
        margin-right: 2rem;
    }

    .themes-section .theme-container .theme-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 0;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
        position: relative;
        z-index: 10;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.4rem;
        line-height: 1.7;
        margin: 0;
        padding: 1.5rem 2rem;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 1rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 140, 66, 0.2);
        position: relative;
        z-index: 5;
    }

    .themes-section .theme-container .team-capacity {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 320px;
        height: 320px;
        flex-shrink: 0;
        position: relative;
        z-index: 8;
        align-self: flex-start;
        margin-left: 2rem;
    }

    .themes-section .theme-container:nth-child(odd) {
        transform: translateX(-4rem);
    }

    .themes-section .theme-container:nth-child(even) {
        transform: translateX(4rem);
    }
}

/* Medium Laptop Optimization (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
    .themes-section .theme-container {
        max-width: 900px;
        padding: clamp(1.5rem, 2vw, 2.5rem);
        gap: clamp(1.5rem, 2.5vw, 2rem);
        min-height: auto;
        height: auto;
        align-items: flex-start;
    }

    .themes-section .theme-container .theme-content {
        gap: clamp(0.75rem, 1.5vw, 1.25rem);
        padding: clamp(0.5rem, 1vw, 1rem);
    }

    .themes-section .theme-container .theme-title {
        font-size: clamp(1.6rem, 2.2vw, 2rem);
        line-height: 1.3;
        margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
        padding: clamp(0.5rem, 1vw, 0.75rem);
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 18px rgba(255, 140, 66, 0.4);
        position: relative;
        z-index: 10;
    }

    .themes-section .theme-container .theme-description {
        font-size: clamp(1rem, 1.6vw, 1.3rem);
        line-height: 1.6;
        margin-top: clamp(0.5rem, 1vw, 0.75rem);
        padding: clamp(0.75rem, 1.5vw, 1.25rem);
        background: rgba(0, 0, 0, 0.25);
        border-radius: clamp(0.5rem, 1vw, 0.75rem);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 140, 66, 0.15);
        position: relative;
        z-index: 5;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(200px, 25vw, 280px);
        height: clamp(200px, 25vw, 280px);
        flex-shrink: 0;
        position: relative;
        z-index: 8;
    }

    .themes-section .theme-container:nth-child(odd) {
        transform: translateX(clamp(-1rem, -1.5vw, -2rem));
    }

    .themes-section .theme-container:nth-child(even) {
        transform: translateX(clamp(1rem, 1.5vw, 2rem));
    }
}

/* Desktop Hero Text Justification */
@media (min-width: 992px) {
    .hero-text {
        text-align: justify;
    }
    
    .hero-title,
    .hero-subtitle,
    .typing-container,
    .hero-description {
        text-align: justify;
    }
    
    .hero-features {
        justify-content: center;
        text-align: center;
    }
}

/* Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1024px) {
    .themes-section .themes-grid {
        gap: clamp(2.5rem, 5vh, 4rem);
        padding: 0 clamp(1.5rem, 4vw, 3rem);
    }

    .themes-section .theme-container {
        min-height: auto;
        height: auto;
        gap: clamp(1.2rem, 3vw, 2.5rem);
        max-width: 1000px;
        align-items: flex-start;
    }

    .themes-section .theme-container .theme-content {
        gap: clamp(0.75rem, 1.5vw, 1.25rem);
        padding: clamp(0.5rem, 1vw, 1rem);
    }

    .themes-section .theme-container .theme-title {
        font-size: clamp(1.7rem, 2.3vw, 2.1rem);
        line-height: 1.3;
        margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
        padding: clamp(0.5rem, 1vw, 0.75rem);
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 18px rgba(255, 140, 66, 0.4);
        position: relative;
        z-index: 10;
    }

    .themes-section .theme-container .theme-description {
        font-size: clamp(1.1rem, 1.7vw, 1.4rem);
        line-height: 1.6;
        margin-top: clamp(0.5rem, 1vw, 0.75rem);
        padding: clamp(0.75rem, 1.5vw, 1.25rem);
        background: rgba(0, 0, 0, 0.25);
        border-radius: clamp(0.5rem, 1vw, 0.75rem);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 140, 66, 0.15);
        position: relative;
        z-index: 5;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(200px, 22vw, 300px);
        height: auto;
        min-height: clamp(200px, 22vw, 300px);
        max-height: clamp(280px, 30vw, 380px);
        flex-shrink: 0;
        position: relative;
        z-index: 8;
        align-self: flex-start;
    }

    .themes-section .theme-container:nth-child(odd) {
        transform: translateX(clamp(-1rem, -1.5vw, -2rem));
    }

    .themes-section .theme-container:nth-child(even) {
        transform: translateX(clamp(1rem, 1.5vw, 2rem));
    }
}

/* Tablet Portrait & Small Laptop (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .themes-section .themes-grid {
        gap: clamp(2rem, 4vh, 3.5rem);
        padding: 0 clamp(1rem, 3vw, 2rem);
    }

    .themes-section .theme-container {
        flex-direction: column;
        text-align: center;
        max-width: min(700px, 90vw);
        min-height: auto;
        height: auto;
        transform: none !important;
        margin: 0 auto;
        gap: clamp(1.5rem, 3vh, 2.5rem);
        align-items: center;
    }

    .themes-section .theme-container .theme-content {
        text-align: center;
        max-width: 100%;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(220px, 35vw, 320px);
        height: auto;
        min-height: clamp(220px, 35vw, 320px);
        max-height: clamp(300px, 40vw, 400px);
    }

    .themes-section .theme-container:nth-child(odd):hover,
    .themes-section .theme-container:nth-child(even):hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Mobile-Specific Theme Container Optimizations */
@media (max-width: 767px) {
    .themes-section .theme-container {
        flex-direction: column;
        text-align: center;
        max-width: min(500px, 95vw);
        min-height: auto;
        height: auto;
        padding: 2rem;
        gap: 2rem;
        align-items: center;
        transform: none !important;
        margin: 0 auto;
    }

    .themes-section .theme-container .theme-content {
        text-align: center;
        max-width: 100%;
        gap: 1.5rem;
        padding: 0;
        align-items: center;
        margin-right: 0;
    }

    .themes-section .theme-container .theme-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin: 0;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
        position: relative;
        z-index: 10;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.3rem;
        line-height: 1.5;
        margin: 0;
        padding: 1.5rem 2rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 1rem;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 140, 66, 0.15);
        position: relative;
        z-index: 5;
        width: 100%;
        height: auto;
        min-height: 0;
        flex-shrink: 0;
    }

    .themes-section .theme-container .team-capacity {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 250px;
        height: 250px;
        flex-shrink: 0;
        position: relative;
        z-index: 8;
        align-self: center;
        margin-left: 0;
    }
}

/* Small Mobile Theme Container Optimizations */
@media (max-width: 480px) {
    .themes-section .theme-container {
        max-width: min(400px, 98vw);
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .themes-section .theme-container .theme-content {
        gap: 1rem;
        padding: 0;
    }

    .themes-section .theme-container .theme-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin: 0;
        padding: 0.75rem 1.25rem;
    }

    .themes-section .theme-container .theme-description {
        font-size: 1.2rem;
        line-height: 1.4;
        margin: 0;
        padding: 1.25rem 1.75rem;
    }

    .themes-section .theme-container .team-capacity {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }

    .themes-section .theme-container .theme-animation {
        width: 200px;
        height: 200px;
    }
}

/* Mobile Header - Only Logos */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
    z-index: 999;
    padding: 10px 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    justify-content: space-between;
    align-items: center;
}

.mobile-header-logo {
    display: flex;
    align-items: center;
}

.mobile-amity-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1)
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.mobile-cybercup-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1)
        drop-shadow(0 2px 8px rgba(255, 140, 66, 0.4));
    transition: all 0.3s ease;
}

.mobile-amity-logo:hover,
.mobile-cybercup-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.15)
        drop-shadow(0 4px 12px rgba(255, 140, 66, 0.5));
}

/* Mobile Bottom Navigation Container */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 1002;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 140, 66, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn i {
    color: #fff;
    font-size: 1.2rem;
}

.scroll-to-top-btn:hover {
    border-color: rgba(255, 140, 66, 0.7);
    background: rgba(255, 140, 66, 0.1);
    transform: scale(1.05);
}

/* Mobile Navigation Toggle Button - Bottom Position */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 140, 66, 0.4);
    border-radius: 50%;
    cursor: pointer;
    gap: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-toggle:hover {
    border-color: rgba(255, 140, 66, 0.7);
    background: rgba(255, 140, 66, 0.1);
    transform: scale(1.05);
}

.mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active {
    background: rgba(255, 140, 66, 0.15);
    border-color: rgba(255, 140, 66, 0.8);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile header layout includes logos and menu button */

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    display: block;
    animation: slideInFromBottom 0.3s ease-out;
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.mobile-nav-list li {
    width: 100%;
    max-width: 300px;
}

.mobile-nav-list a {
    display: block;
    padding: 18px 20px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
    background: rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.3);
}

/* Hide mobile-specific elements on desktop */
.mobile-hero-stats,
.mobile-hero-logo {
    display: none;
}

/* Enhanced scroll indicator with fade animations */
.scroll-indicator {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    z-index: 100 !important;
    position: absolute !important;
    bottom: 2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.scroll-indicator.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Mobile CyberCup Hero Logo Styles - Square with 10% border radius */
.mobile-cybercup-hero-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1)
        drop-shadow(0 4px 20px rgba(255, 140, 66, 0.5));
    transition: all 0.3s ease;
    border-radius: 10%;
    background: rgba(255, 140, 66, 0.05);
    padding: 5px;
}

.mobile-cybercup-hero-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.15)
        drop-shadow(0 6px 25px rgba(255, 140, 66, 0.7));
    background: rgba(255, 140, 66, 0.1);
}

/* Mobile Landscape & Large Mobile (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
    .themes-section .themes-grid {
        gap: clamp(1.5rem, 3vh, 2.5rem);
        padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
        margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
    }

    .themes-section .theme-container {
        flex-direction: column;
        text-align: center;
        max-width: min(550px, 95vw);
        min-height: clamp(327px, 35vh, 407px);
        transform: none !important;
        margin: 0 auto;
        padding: clamp(1.2rem, 3vw, 2rem);
        gap: clamp(1rem, 2.5vh, 1.8rem);
    }

    .themes-section .theme-container .theme-content {
        text-align: center;
    }

    .themes-section .theme-container .theme-title {
        font-size: clamp(1.3rem, 4.5vw, 2rem);
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
    }

    .themes-section .theme-container .theme-description {
        font-size: clamp(0.85rem, 2.8vw, 1.1rem);
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(180px, 40vw, 260px);
        height: clamp(180px, 40vw, 260px);
    }
}

/* Standard Mobile (480px - 600px) */
@media (max-width: 600px) and (min-width: 480px) {
    .themes-section .themes-grid {
        gap: clamp(1.2rem, 3vh, 2rem);
        padding: 0 clamp(0.5rem, 2vw, 1rem);
        margin: clamp(1rem, 3vh, 2rem) auto 0;
    }

    .themes-section .theme-container {
        flex-direction: column;
        text-align: center;
        max-width: min(450px, 95vw);
        min-height: clamp(307px, 40vh, 387px);
        transform: none !important;
        margin: 0 auto;
        padding: clamp(1rem, 4vw, 1.8rem);
        gap: clamp(0.8rem, 2vh, 1.5rem);
    }

    .themes-section .theme-container .theme-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        line-height: 1.3;
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
    }

    .themes-section .theme-container .theme-description {
        font-size: clamp(0.8rem, 3.2vw, 1rem);
        line-height: 1.5;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(160px, 45vw, 220px);
        height: clamp(160px, 45vw, 220px);
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .themes-section .themes-grid {
        gap: clamp(1rem, 4vh, 1.8rem);
        padding: 0 clamp(0.5rem, 3vw, 0.8rem);
        margin: clamp(0.8rem, 2vh, 1.5rem) auto 0;
    }

    .themes-section .theme-container {
        flex-direction: column;
        text-align: center;
        max-width: min(350px, 95vw);
        min-height: clamp(287px, 45vh, 357px);
        transform: none !important;
        margin: 0 auto;
        padding: clamp(0.8rem, 5vw, 1.5rem);
        gap: clamp(0.6rem, 2vh, 1.2rem);
        border-radius: clamp(0.8rem, 4vw, 1.5rem);
    }

    .themes-section .theme-container .theme-title {
        font-size: clamp(1rem, 6vw, 1.5rem);
        line-height: 1.2;
        margin-bottom: clamp(0.3rem, 1vh, 0.6rem);
        background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
    }

    .themes-section .theme-container .theme-description {
        font-size: clamp(0.75rem, 3.5vw, 0.9rem);
        line-height: 1.4;
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(140px, 50vw, 180px);
        height: clamp(140px, 50vw, 180px);
    }

    /* Reduce hover effects on small screens */
    .themes-section .theme-container:hover {
        /* Hover effect removed */
    }
}

/* Ultra-wide Screen Optimization */
@media (min-width: 1800px) {
    .themes-section .themes-grid {
        max-width: 1800px;
        gap: clamp(5rem, 8vh, 10rem);
    }

    .themes-section .theme-container {
        max-width: 1500px;
        min-height: clamp(400px, 25vh, 500px);
        gap: clamp(3rem, 4vw, 4rem);
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(300px, 20vw, 400px);
        height: clamp(300px, 20vw, 400px);
    }
}

/* Portrait Orientation Optimization */
@media (orientation: portrait) and (max-height: 900px) {
    .themes-section .themes-grid {
        gap: clamp(1.5rem, 4vh, 3rem);
        margin: clamp(1rem, 3vh, 2rem) auto 0;
    }

    .themes-section .theme-container {
        min-height: clamp(250px, 30vh, 350px);
    }
}

/* Landscape Orientation Optimization */
@media (orientation: landscape) and (max-height: 600px) {
    .themes-section .themes-grid {
        gap: clamp(1rem, 6vh, 2rem);
        margin: clamp(0.5rem, 2vh, 1rem) auto 0;
    }

    .themes-section .theme-container {
        min-height: clamp(200px, 35vh, 280px);
        padding: clamp(1rem, 3vh, 1.5rem);
    }

    .themes-section .theme-container .theme-animation {
        width: clamp(120px, 25vh, 200px);
        height: clamp(120px, 25vh, 200px);
    }
}

.themes-3d {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.themes-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(229, 100, 30, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(238, 171, 0, 0.08) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.themes-3d-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
    perspective: 1000px;
}

.theme-3d-card {
    position: relative;
    height: 450px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.theme-3d-card:hover {
    transform: rotateY(180deg);
}

.card-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card-3d-front,
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #e5641e33;
    overflow: hidden;
}

.card-3d-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #eeab0033;
}

.theme-3d-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.icon-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5641e 0%, #eeab00 100%);
    border-radius: 20px;
    transform: rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 10px 20px rgba(229, 100, 30, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.icon-3d-wrapper i {
    font-size: 2rem;
    color: #0a0a0a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.icon-3d-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #e5641e33, #eeab0033);
    border-radius: 25px;
    filter: blur(10px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-3d-card:hover .icon-3d-glow {
    opacity: 1;
}

.theme-3d-content {
    text-align: center;
    color: #ffffff;
}

.theme-3d-index {
    display: inline-block;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    color: #0a0a0a;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.theme-3d-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-3d-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-3d-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(229, 100, 30, 0.1));
    pointer-events: none;
}

.theme-details h4 {
    color: #e5641e;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.theme-details ul {
    list-style: none;
    margin-bottom: 25px;
}

.theme-details li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.theme-details li:before {
    content: "▶";
    color: #eeab00;
    position: absolute;
    left: 0;
}

.tech-stack-3d {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-stack-3d span {
    background: rgba(229, 100, 30, 0.2);
    color: #e5641e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #e5641e33;
}

.theme-3d-btn {
    background: linear-gradient(135deg, #e5641e, #eeab00);
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    text-decoration: none;
}

.theme-3d-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 100, 30, 0.3);
}

.floating-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    border-radius: 4px;
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
}

.cube-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.cube-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.floating-sphere {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #eeab00, #e5641e);
    border-radius: 50%;
    top: 50%;
    right: 30%;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.7;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Ultra-responsive positioning for all screen sizes */
@media (min-width: 320px) {
    .hero {
        position: relative;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title,
    .hero-subtitle,
    .hero-description,
    .typing-container {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Prevent horizontal overflow */
    .hero-description {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Landscape tablet optimizations */
@media (max-width: 1024px) and (min-width: 769px) and (orientation: landscape) {
    .hero-content {
        margin: clamp(60px, 8vh, 100px) auto;
        gap: clamp(2rem, 3vw, 4rem);
    }

    .hero-title {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .hero-logo-container {
        right: clamp(2%, 3vw, 5%);
        max-width: min(250px, 25vw);
    }
}

/* Small screen fine-tuning */
@media (max-width: 480px) {
    .hero-content {
        margin: clamp(60px, 8vh, 80px) auto;
        padding: 0 clamp(8px, 2vw, 15px);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    .hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        line-height: 1.5;
    }

    .hero-logo-container {
        max-width: min(200px, 70vw);
        margin: 1.5rem auto 0;
    }
}

/* Apply dark background theme to ALL pages */
body {
    background: #0a0a0a;
    color: #ffffff;
}

/* Ensure themes section has the correct gradient background */
.themes-section {
    background: linear-gradient(
        135deg,
        #18181c 0%,
        #23232a 60%,
        #ffb30067 100%
    ) !important;
}

.hero {
    background: #0a0a0a;
    container-type: inline-size;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 30%,
            rgba(72, 52, 52, 0.15) 0%,
            transparent 60%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(103, 125, 106, 0.12) 0%,
            transparent 55%
        ),
        radial-gradient(
            circle at 40% 80%,
            rgba(72, 52, 52, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(103, 125, 106, 0.08) 0%,
            transparent 45%
        ),
        linear-gradient(
            45deg,
            rgba(72, 52, 52, 0.03) 0%,
            transparent 50%,
            rgba(103, 125, 106, 0.03) 100%
        );
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle at 100% 100%,
        rgba(72, 52, 52, 0.06) 0%,
        rgba(103, 125, 106, 0.04) 30%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}



/* Apply dark background to all sections */
.about,
.schedule,
.prizes,
.sponsors,
.register,
.contact,
.footer {
    background: #0a0a0a;
    position: relative;
}

.about::before,
.schedule::before,
.prizes::before,
.sponsors::before,
.register::before,
.contact::before,
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 30%,
            rgba(72, 52, 52, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(103, 125, 106, 0.05) 0%,
            transparent 50%
        );
    z-index: 0;
    pointer-events: none;
}

/* Enhanced sticky navbar with blur effect */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(18, 18, 20, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000;
    transition: all 0.3s ease !important;
}

/* Apply blur effect to all navbar variants */
.navbar.scrolled,
.navbar.fixed,
.navbar.transparent {
    background: rgba(18, 18, 20, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure blur works on all devices including laptops */
@media (min-width: 768px) {
    .navbar,
    .navbar.scrolled,
    .navbar.fixed,
    .navbar.transparent {
        background: rgba(18, 18, 20, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: none !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Fallback for devices that don't support backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .navbar,
    .navbar.scrolled,
    .navbar.fixed,
    .navbar.transparent {
        background: rgba(18, 18, 20, 0.3) !important;
    }
}

/* Optimized Amity logo - more compact */
.amity-logo {
    height: clamp(60px, 5vw, 80px) !important;
    width: auto !important;
    object-fit: contain !important;
    filter: brightness(1.2) contrast(1.15)
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
}

.amity-logo:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.3) contrast(1.2)
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) !important;
}

/* Enhanced Navbar with CyberCup Logo */
.nav-container {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem clamp(1rem, 3vw, 2rem) 0.5rem clamp(1rem, 3vw, 2rem);
    max-width: 100%;
    box-sizing: border-box;
    height: 80px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: clamp(0.3rem, 1.5vw, 0.8rem);
    flex-shrink: 0;
}

.cybercup-nav-logo {
    height: clamp(40px, 4vw, 50px);
    width: clamp(40px, 4vw, 50px);
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1)
        drop-shadow(0 2px 10px rgba(255, 140, 66, 0.4));
}

.cybercup-nav-logo:hover {
    transform: scale(1.08) rotate(3deg);
    filter: brightness(1.2) contrast(1.15)
        drop-shadow(0 4px 15px rgba(255, 140, 66, 0.6));
}

.nav-title {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-logo {
    background: var(--gradient-primary);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    background: var(--gradient-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 140, 66, 0.7);
}

/* Hero Button Styles - Minimalistic Premium */
.hero-buttons .btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.25);
    color: #0a0a0a;
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #e5641e 0%, #ff8c42 100%);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.4);
    transform: translateY(-2px);
}

.hero-buttons .btn-primary:hover i {
    transform: translateX(4px);
}

.hero-buttons .btn-secondary {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 140, 66, 0.6);
    color: #ff8c42;
    backdrop-filter: blur(20px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 140, 66, 0.1);
    border-color: #ff8c42;
    color: #ffa726;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.2);
}

.hero-buttons .btn-secondary:hover i {
    transform: translateX(4px) scale(1.1);
}

.section-title {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 140, 66, 0.6);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--24k);
    margin-bottom: 8px;
}

/* Ensure themes section title has orange color */
.themes-section .section-title {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 25px rgba(255, 140, 66, 0.6) !important;
}

.theme-card {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

.theme-card:hover {
    /* Hover effect removed */
}

.theme-icon {
    background: var(--gradient-primary);
}

.prize-card {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

.prize-medal {
    background: var(--gradient-primary);
}

.prize-amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.registration-form {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

.contact-item {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

.contact-icon {
    background: var(--gradient-primary);
}

.social-icon {
    background: var(--gradient-primary);
}

.social-icon:hover {
    box-shadow: var(--shadow-primary);
}

/* Network background elements */
.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    /* Ensure network elements roam properly on top of the image */
    mix-blend-mode: overlay;
}

.network-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(72, 52, 52, 0.6),
        transparent
    );
    height: 1px;
    width: 120px;
    animation: networkGlow 4s ease-in-out infinite, networkFloat 8s ease-in-out infinite;
    filter: blur(0.5px);
    transform-origin: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    /* Ensure lines are visible on top of the image */
    mix-blend-mode: normal;
}

.network-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(72, 52, 52, 0.8);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite, dotFloat 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(72, 52, 52, 0.6);
    transform-origin: center;
    /* Ensure dots are visible on top of the image */
    mix-blend-mode: normal;
}

@keyframes networkGlow {
    0%,
    100% {
        opacity: 0.3;
        box-shadow: 0 0 12px rgba(72, 52, 52, 0.3);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 18px rgba(72, 52, 52, 0.5);
    }
}

@keyframes dotPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 6px rgba(72, 52, 52, 0.4);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(72, 52, 52, 0.6);
    }
}

@keyframes networkFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(30px) translateY(-20px) rotate(8deg);
    }
    50% {
        transform: translateX(-25px) translateY(25px) rotate(-8deg);
    }
    75% {
        transform: translateX(35px) translateY(15px) rotate(5deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

@keyframes dotFloat {
    0% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(20px) translateY(-15px);
    }
    66% {
        transform: translateX(-15px) translateY(20px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* Advanced Animation System */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Staggered Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-100 {
    transition-delay: 0.1s;
}
.animate-on-scroll.delay-200 {
    transition-delay: 0.2s;
}
.animate-on-scroll.delay-300 {
    transition-delay: 0.3s;
}
.animate-on-scroll.delay-400 {
    transition-delay: 0.4s;
}
.animate-on-scroll.delay-500 {
    transition-delay: 0.5s;
}

/* Advanced Floating Icons */
.floating-icon {
    background: rgba(103, 125, 106, 0.1);
    border-color: rgba(103, 125, 106, 0.6);
    color: #677d6a;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-icon:hover {
    background: linear-gradient(135deg, #483434 0%, #677d6a 100%);
    color: white;
    transform: translateY(-10px) scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(72, 52, 52, 0.4);
    border-radius: 25px;
}

/* Individual floating icon animations for random movement */
.floating-icon:nth-child(1) {
    animation: floatIcon1 6s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation: floatIcon2 7s ease-in-out infinite;
}

.floating-icon:nth-child(3) {
    animation: floatIcon3 5s ease-in-out infinite;
}

.floating-icon:nth-child(4) {
    animation: floatIcon4 8s ease-in-out infinite;
}

.floating-icon:nth-child(5) {
    animation: floatIcon5 6.5s ease-in-out infinite;
}

.floating-icon:nth-child(6) {
    animation: floatIcon6 7.5s ease-in-out infinite;
}

@keyframes floatIcon1 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) translateX(8px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-20px) translateX(-5px) rotate(-3deg) scale(1.1);
    }
    75% {
        transform: translateY(-10px) translateX(12px) rotate(2deg) scale(1.03);
    }
}

@keyframes floatIcon2 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-12px) translateX(-8px) rotate(-4deg) scale(1.03);
    }
    50% {
        transform: translateY(-18px) translateX(6px) rotate(6deg) scale(1.08);
    }
    75% {
        transform: translateY(-8px) translateX(-10px) rotate(-2deg) scale(1.05);
    }
}

@keyframes floatIcon3 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(5px) rotate(3deg) scale(1.1);
    }
    50% {
        transform: translateY(-15px) translateX(-8px) rotate(-5deg) scale(1.05);
    }
    75% {
        transform: translateY(-25px) translateX(10px) rotate(4deg) scale(1.12);
    }
}

@keyframes floatIcon4 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-10px) translateX(-12px) rotate(-6deg) scale(1.04);
    }
    50% {
        transform: translateY(-16px) translateX(8px) rotate(4deg) scale(1.07);
    }
    75% {
        transform: translateY(-6px) translateX(-15px) rotate(-3deg) scale(1.02);
    }
}

@keyframes floatIcon5 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-18px) translateX(10px) rotate(5deg) scale(1.06);
    }
    50% {
        transform: translateY(-22px) translateX(-6px) rotate(-4deg) scale(1.09);
    }
    75% {
        transform: translateY(-12px) translateX(15px) rotate(3deg) scale(1.04);
    }
}

@keyframes floatIcon6 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-14px) translateX(-8px) rotate(-3deg) scale(1.05);
    }
    50% {
        transform: translateY(-19px) translateX(7px) rotate(4deg) scale(1.08);
    }
    75% {
        transform: translateY(-9px) translateX(-12px) rotate(-2deg) scale(1.03);
    }
}

/* Advanced Card Animations */
.theme-card,
.prize-card,
.sponsor-card {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Enhanced Theme Section Animations */
.themes {
    position: relative;
    overflow: hidden;
}

.themes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 30%,
            rgba(72, 52, 52, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(103, 125, 106, 0.05) 0%,
            transparent 50%
        );
    z-index: 0;
}

.theme-card {
    background: rgba(72, 52, 52, 0.08);
    border: 1px solid rgba(72, 52, 52, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.theme-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 66, 0.1) 0%,
        rgba(103, 125, 106, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.theme-card:hover::after {
    /* Hover effect removed */
}

/* Theme Visual Elements */
.theme-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.theme-text h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.theme-text p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.theme-btn {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
}

/* Network Graphic Animation */
.network-graphic {
    position: relative;
    width: 100%;
    height: 200px;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: pulse 1s ease-in-out infinite;
}

.connected-nodes .node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(103, 125, 106, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    animation: floatNode 4s ease-in-out infinite;
}

.node-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}
.node-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}
.node-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}
.node-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}
.node-5 {
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

.connection-lines .line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #ff8c42, #677d6a);
    animation: flowLine 3s ease-in-out infinite;
}

.line-1 {
    width: 80px;
    top: 35%;
    left: 30%;
    transform: rotate(45deg);
    animation-delay: 0s;
}
.line-2 {
    width: 80px;
    top: 35%;
    right: 30%;
    transform: rotate(-45deg);
    animation-delay: 0.5s;
}
.line-3 {
    width: 80px;
    bottom: 35%;
    left: 30%;
    transform: rotate(-45deg);
    animation-delay: 1s;
}
.line-4 {
    width: 80px;
    bottom: 35%;
    right: 30%;
    transform: rotate(45deg);
    animation-delay: 1.5s;
}
.line-5 {
    width: 60px;
    top: 50%;
    right: 20%;
    transform: rotate(0deg);
    animation-delay: 2s;
}

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes floatNode {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

@keyframes flowLine {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Blockchain Graphic Animation */
.blockchain-graphic {
    position: relative;
    width: 100%;
    height: 200px;
}

.chain-blocks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
}

.chain-blocks .block {
    width: 30px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    border-radius: 5px;
    animation: chainMove 3s ease-in-out infinite;
}

.block-1 {
    animation-delay: 0s;
}
.block-2 {
    animation-delay: 0.5s;
}
.block-3 {
    animation-delay: 1s;
}
.block-4 {
    animation-delay: 1.5s;
}

.security-shield {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #677d6a 0%, #483434 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: shieldGlow 2s ease-in-out infinite;
}

.crypto-symbols {
    position: absolute;
    bottom: 20%;
    left: 20%;
}

.crypto-symbols .symbol {
    width: 35px;
    height: 35px;
    background: rgba(103, 125, 106, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    animation: symbolFloat 4s ease-in-out infinite;
}

.symbol-1 {
    animation-delay: 0s;
}
.symbol-2 {
    animation-delay: 1.5s;
}
.symbol-3 {
    animation-delay: 3s;
}

@keyframes chainMove {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

@keyframes shieldGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(103, 125, 106, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(103, 125, 106, 0.8);
    }
}

@keyframes symbolFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.theme-card::before,
.prize-card::before,
.sponsor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.theme-card:hover::before,
.prize-card:hover::before,
.sponsor-card:hover::before {
    /* Hover effect removed */
}

.theme-card:hover,
.prize-card:hover,
.sponsor-card:hover {
    /* Hover effect removed */
}

.gradient-orb {
    position: fixed !important;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 20%;
    background: linear-gradient(
        135deg,
        rgba(52, 37, 37, 0.9) 0%,
        rgba(73, 88, 76, 0.8) 100%
    );
    filter: blur(50px);
    opacity: 0.9;
    box-shadow: 0 0 90px rgba(52, 37, 37, 0.5);
}

.orb-2 {
    width: 280px;
    height: 280px;
    top: 25%;
    right: 25%;
    background: linear-gradient(
        135deg,
        rgba(73, 88, 76, 0.9) 0%,
        rgba(52, 37, 37, 1) 100%
    );
    filter: blur(45px);
    opacity: 0.85;
    box-shadow: 0 0 80px rgba(73, 88, 76, 0.5);
}

.orb-3 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 25%;
    background: linear-gradient(
        135deg,
        rgba(52, 37, 37, 0.8) 0%,
        rgba(73, 88, 76, 0.9) 50%,
        rgba(52, 37, 37, 0.8) 100%
    );
    filter: blur(40px);
    opacity: 0.8;
    box-shadow: 0 0 75px rgba(52, 37, 37, 0.4);
}

.orb-4 {
    width: 220px;
    height: 220px;
    bottom: 30%;
    right: 15%;
    background: linear-gradient(
        135deg,
        rgba(73, 88, 76, 0.7) 0%,
        rgba(52, 37, 37, 0.9) 100%
    );
    filter: blur(50px);
    opacity: 0.75;
    box-shadow: 0 0 85px rgba(73, 88, 76, 0.4);
}

.orb-5 {
    width: 140px;
    height: 140px;
    bottom: 10%;
    right: 30%;
    background: linear-gradient(
        135deg,
        rgba(52, 37, 37, 0.6) 0%,
        rgba(73, 88, 76, 0.8) 50%,
        rgba(52, 37, 37, 0.7) 100%
    );
    filter: blur(45px);
    opacity: 0.7;
    box-shadow: 0 0 70px rgba(52, 37, 37, 0.35);
}

/* Large CyberCup Logo on Right Side - Moved Lower */
.hero-logo-container {
    position: fixed;
    top: calc(50% + 160px);
    right: clamp(2%, 8vw, 11%);
    transform: translateY(-50%) translateZ(0);
    z-index: 1000;
    max-width: min(400px, 35vw);
    will-change: transform;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-main-logo {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 0 30px rgba(255, 140, 66, 0.4));
    transition: all 0.3s ease;
    border-radius: 10% 10% 10% 10%;
}

.hero-main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(255, 140, 66, 0.6));
}

/* Hero stats positioned below the logo - using original design */
.hero-logo-container .hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    pointer-events: auto;
}

.hero-logo-container .stat {
    text-align: center;
}

.hero-logo-container .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff8c42;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-logo-container .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero buttons positioned below the stats - improved design */
.hero-logo-container .hero-buttons {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    margin-top: 0.8rem;
    pointer-events: auto;
    position: relative;
    z-index: 1001;
    flex-wrap: wrap;
    align-items: center;
}

.hero-logo-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.4s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    pointer-events: auto;
    min-width: 160px;
    text-align: center;
    white-space: nowrap;
}

.hero-logo-container .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.hero-logo-container .btn:hover::before {
    left: 100%;
}

.hero-logo-container .btn-primary {
    background: linear-gradient(
        135deg,
        #ff6b35 0%,
        #ff8c42 25%,
        #ffa726 50%,
        #ffb74d 75%,
        #ffd54f 100%
    );
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    border: 2px solid rgba(255, 140, 66, 0.3);
}

.hero-logo-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(255, 140, 66, 0.6) !important;
    border-color: rgba(255, 200, 100, 0.8) !important;
    background: linear-gradient(
        135deg,
        #e5641e 0%,
        #ff6b35 25%,
        #ff8c42 50%,
        #ffa726 75%,
        #ffb74d 100%
    ) !important;
    transition: all 0.3s ease !important;
}

.hero-logo-container .btn-secondary {
    background: rgba(15, 15, 15, 0.9);
    color: #ff8c42;
    border: 2px solid rgba(255, 140, 66, 0.6);
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo-container .btn-secondary:hover {
    background: rgba(255, 140, 66, 0.15) !important;
    border-color: rgba(255, 140, 66, 0.9) !important;
    transform: translateY(-3px) scale(1.02) !important;
    color: #ffb74d !important;
    box-shadow: 0 12px 30px rgba(255, 140, 66, 0.3) !important;
    transition: all 0.3s ease !important;
}

.hero-logo-container .btn i {
    transition: transform 0.3s ease;
}

.hero-logo-container .btn:hover i {
    transform: translateX(3px);
}

/* Ensure particles stay behind logo */
.particle {
    z-index: 999 !important;
    pointer-events: none !important;
}

.hero-logo-container {
    z-index: 1000 !important;
    pointer-events: auto !important;
}

/* Ensure buttons are always interactive */
.hero-logo-container .hero-buttons {
    z-index: 1001 !important;
    pointer-events: auto !important;
}

.hero-logo-container .btn {
    z-index: 1002 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Geometric Elements */
.geometric-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.geo-element {
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(255, 140, 66, 0.3));
}

.geo-1 {
    top: 12%;
    right: 5%;
    animation: geoFloat1 12s ease-in-out infinite;
}

.geo-2 {
    bottom: 20%;
    left: 3%;
    animation: geoFloat2 10s ease-in-out infinite;
}

.geo-3 {
    top: 70%;
    right: 35%;
    animation: geoFloat3 8s ease-in-out infinite;
}

.geo-4 {
    top: 30%;
    left: 2%;
    animation: geoFloat4 14s ease-in-out infinite;
}

/* Optimized animations for better performance */
@keyframes geoFloat1 {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -10px, 0) scale(1.05);
    }
}

@keyframes geoFloat2 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(8px, 0, 0);
    }
}

@keyframes geoFloat3 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes geoFloat4 {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -12px, 0) scale(1.02);
    }
}

/* Tech Icons Layer */
.tech-icons-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tech-icon-1 {
    top: 15%;
    left: 45%;
    animation: techFloat1 6s ease-in-out infinite;
}

.tech-icon-2 {
    bottom: 10%;
    right: 45%;
    animation: techFloat2 8s ease-in-out infinite;
}

.tech-icon-3 {
    top: 55%;
    right: 3%;
    animation: techFloat3 7s ease-in-out infinite;
}

/* Optimized tech icon animations */
@keyframes techFloat1 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes techFloat2 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(6px, 0, 0);
    }
}

@keyframes techFloat3 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -6px, 0);
    }
}

/* Premium Accent Lines */
.premium-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.accent-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 140, 66, 0.4) 30%,
        rgba(255, 167, 38, 0.6) 50%,
        rgba(255, 140, 66, 0.4) 70%,
        transparent 100%
    );
    height: 1px;
    filter: blur(0.5px);
    opacity: 0.7;
}

.line-1 {
    top: 20%;
    left: 10%;
    width: 120px;
    transform: rotate(25deg);
    animation: lineGlow1 4s ease-in-out infinite;
}

.line-2 {
    bottom: 30%;
    right: 15%;
    width: 100px;
    transform: rotate(-35deg);
    animation: lineGlow2 5s ease-in-out infinite;
}

.line-3 {
    top: 50%;
    left: 5%;
    width: 80px;
    transform: rotate(60deg);
    animation: lineGlow3 6s ease-in-out infinite;
}

.line-4 {
    top: 40%;
    right: 20%;
    width: 90px;
    transform: rotate(15deg);
    animation: lineGlow1 7s ease-in-out infinite;
}

.line-5 {
    bottom: 45%;
    left: 35%;
    width: 70px;
    transform: rotate(-45deg);
    animation: lineGlow2 5.5s ease-in-out infinite;
}

@keyframes lineGlow1 {
    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(255, 140, 66, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
    }
}

@keyframes lineGlow2 {
    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 8px rgba(255, 167, 38, 0.3);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 16px rgba(255, 167, 38, 0.5);
    }
}

@keyframes lineGlow3 {
    0%,
    100% {
        opacity: 0.5;
        box-shadow: 0 0 6px rgba(255, 140, 66, 0.2);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 12px rgba(255, 140, 66, 0.4);
    }
}

/* Code Pattern Elements */
.code-pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.code-block {
    position: absolute;
    padding: 12px;
    background: rgba(10, 10, 10, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 66, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0.7;
}

.code-1 {
    top: 25%;
    right: 15%;
    animation: codeFloat1 8s ease-in-out infinite;
}

.code-2 {
    bottom: 35%;
    left: 15%;
    animation: codeFloat2 10s ease-in-out infinite;
}

.code-line {
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 140, 66, 0.6),
        rgba(255, 167, 38, 0.4)
    );
    margin-bottom: 4px;
    border-radius: 1px;
    animation: codeLine 3s ease-in-out infinite;
}

.code-line.short {
    width: 30px;
}

.code-line.medium {
    width: 45px;
}

.code-line:not(.short):not(.medium) {
    width: 60px;
}

@keyframes codeFloat1 {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes codeFloat2 {
    0%,
    100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(8px) scale(1.02);
    }
}

@keyframes codeLine {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Premium Dots Matrix */
.dots-matrix {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dot-grid {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(
        circle,
        rgba(255, 140, 66, 0.3) 1px,
        transparent 1px
    );
    background-size: 8px 8px;
    opacity: 0.4;
    animation: dotMatrix 12s ease-in-out infinite;
}

.grid-1 {
    top: 10%;
    left: 25%;
    animation-delay: 0s;
}

.grid-2 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4s;
}

.grid-3 {
    top: 60%;
    left: 60%;
    animation-delay: 8s;
}

@keyframes dotMatrix {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Timeline enhancements */
.timeline::before {
    background: var(--gradient-primary);
}

.timeline-marker {
    background: var(--gradient-primary);
}

.timeline-content {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

/* Form enhancements */
.form-group input:focus,
.form-group select:focus {
    border-color: #483434;
    box-shadow: 0 0 0 3px rgba(72, 52, 52, 0.1);
}

/* Footer enhancements */
.footer {
    background: #0a0a0a;
    border-top-color: rgba(72, 52, 52, 0.2);
}

.footer-social a {
    background: var(--gradient-primary);
}

.footer-social a:hover {
    box-shadow: var(--shadow-primary);
}

/* Loading screen with caramel colors */
.loading-screen {
    background: #0a0a0a;
}

.loader-circle {
    border-color: var(--cream);
    border-top-color: var(--mocha-mousse);
}

.loader-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Progress bar */
.progress-bar {
    background: var(--gradient-primary);
}

/* Scroll to top button */
.scroll-to-top {
    background: var(--gradient-primary);
}

.scroll-to-top:hover {
    box-shadow: var(--shadow-primary);
}

/* Enhanced hover effects */
.theme-card:hover::before,
.prize-card:hover::before {
    background: var(--gradient-primary);
}

/* Custom cursor */
.custom-cursor {
    background: var(--gradient-primary);
}

/* Particle effects */
.particle {
    background: rgba(164, 119, 100, 0.6);
}

/* Notification system */
.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Advanced Text Animations */
.hero-subtitle {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 140, 66, 0.8);
    }
}

/* Typing Effect */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #ff8c42;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    animation: textReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.hero-description {
    color: #defcff;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(255, 167, 38, 0.4);
}

.stat-label {
    color: #ffffff;
    font-weight: 500;
}

.section-subtitle {
    color: #ffffff;
    font-weight: 500;
}

.tag {
    background: rgba(164, 119, 100, 0.2);
    color: var(--mocha-mousse);
}

.time {
    color: var(--mocha-mousse);
}

.event-name {
    color: var(--cream);
}

.event-location {
    color: var(--buttercream);
}

.prize-card p {
    color: var(--buttercream);
}

.reward {
    color: var(--cream);
}

.reward i {
    color: var(--mocha-mousse);
}

.info-item p {
    color: var(--buttercream);
}

.contact-item p {
    color: var(--cream);
}

.footer-section p {
    color: #ffffff;
}

.footer-section ul li a {
    color: var(--text-primary);
}

.footer-section ul li a:hover {
    color: var(--mocha-mousse);
}

.footer-bottom {
    color: var(--buttercream);
}

/* Advanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Enhanced Particle System */
.particle-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation-fill-mode: forwards;
    will-change: transform, opacity;
}

/* Different particle types */
.particle-type-1 {
    width: 3px;
    height: 3px;
    background: radial-gradient(
        circle,
        rgba(73, 88, 76, 0.8),
        rgba(52, 37, 37, 0.6)
    );
    animation: particleFloat3D 12s linear infinite;
    box-shadow: 0 0 6px rgba(73, 88, 76, 0.4);
}

.particle-type-2 {
    width: 5px;
    height: 5px;
    background: radial-gradient(
        circle,
        rgba(52, 37, 37, 0.9),
        rgba(73, 88, 76, 0.5)
    );
    animation: particleSpiral 15s linear infinite;
    box-shadow: 0 0 8px rgba(52, 37, 37, 0.5);
}

.particle-type-3 {
    width: 2px;
    height: 2px;
    background: linear-gradient(
        45deg,
        rgba(73, 88, 76, 0.7),
        rgba(52, 37, 37, 0.8)
    );
    animation: particleZigzag 10s linear infinite;
    box-shadow: 0 0 4px rgba(73, 88, 76, 0.3);
}

@keyframes particleFloat3D {
    0% {
        transform: translateY(100vh) translateX(0) rotateX(0deg) rotateY(0deg)
            rotateZ(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) rotateX(45deg)
            rotateY(90deg) rotateZ(45deg) scale(0.8);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) rotateX(180deg)
            rotateY(270deg) rotateZ(180deg) scale(1.2);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(15px) rotateX(315deg)
            rotateY(450deg) rotateZ(315deg) scale(0.9);
    }
    100% {
        transform: translateY(-10vh) translateX(0) rotateX(360deg)
            rotateY(540deg) rotateZ(360deg) scale(0.3);
        opacity: 0;
    }
}

@keyframes particleSpiral {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translateY(85vh) translateX(30px) rotate(60deg) scale(1);
    }
    30% {
        transform: translateY(70vh) translateX(-40px) rotate(180deg) scale(1.3);
    }
    50% {
        transform: translateY(50vh) translateX(50px) rotate(300deg) scale(1.1);
    }
    70% {
        transform: translateY(30vh) translateX(-30px) rotate(480deg) scale(1.4);
    }
    85% {
        opacity: 1;
        transform: translateY(15vh) translateX(20px) rotate(600deg) scale(0.8);
    }
    100% {
        transform: translateY(-5vh) translateX(0) rotate(720deg) scale(0.2);
        opacity: 0;
    }
}

@keyframes particleZigzag {
    0% {
        transform: translateY(100vh) translateX(0) rotateZ(0deg) scale(0.4);
        opacity: 0;
    }
    12% {
        opacity: 1;
        transform: translateY(88vh) translateX(25px) rotateZ(45deg) scale(0.9);
    }
    25% {
        transform: translateY(75vh) translateX(-35px) rotateZ(135deg) scale(1.2);
    }
    38% {
        transform: translateY(62vh) translateX(45px) rotateZ(225deg) scale(1);
    }
    50% {
        transform: translateY(50vh) translateX(-25px) rotateZ(315deg) scale(1.3);
    }
    62% {
        transform: translateY(38vh) translateX(35px) rotateZ(405deg) scale(1.1);
    }
    75% {
        transform: translateY(25vh) translateX(-40px) rotateZ(495deg) scale(0.9);
    }
    88% {
        opacity: 1;
        transform: translateY(12vh) translateX(20px) rotateZ(585deg) scale(0.7);
    }
    100% {
        transform: translateY(-2vh) translateX(0) rotateZ(720deg) scale(0.3);
        opacity: 0;
    }
}

.btn-primary:hover {
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-primary);
}

/* Enhanced card interactions */
.theme-card:hover,
.prize-card:hover,
.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

/* Enhanced form interactions */
.form-group input:hover,
.form-group select:hover {
    border-color: var(--maple-sugar);
}

/* Enhanced navigation */
.nav-menu a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
}

.nav-menu a:hover::after {
    background: var(--gradient-primary);
}

/* Fix amity-presents positioning for all screen sizes */
.amity-presents {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 120px !important;
    width: 100% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 30px !important;
    z-index: 5 !important;
}

/* Remove gap above hero-content on desktop and increase hero height */
.hero-content {
    margin-top: 0 !important;
}

.hero {
    min-height: 110vh !important;
    min-height: 110dvh !important;
}

/* Additional responsive navbar adjustments for very small screens */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 4px 8px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 4px 6px;
    }

    .nav-container {
        padding: 0.1rem 1.5rem 1rem 1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 901px) {
    /* Tablet landscape optimizations */
    .hero {
        min-height: 100vh !important;
    }

    .hero-content {
        margin: clamp(80px, 10vh, 120px) auto;
        gap: clamp(2rem, 4vw, 4rem);
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .hero-logo-container {
        top: calc(50% + 100px);
        right: clamp(3%, 6vw, 8%);
        max-width: min(350px, 32vw);
    }

    .hero-main-logo {
        width: 300px;
        height: 300px;
    }

    .nav-container {
        padding: 0.3rem 1.5rem 0.7rem 1.5rem;
        height: 75px;
    }

    .amity-logo {
        height: clamp(50px, 6vw, 70px) !important;
    }

    .cybercup-nav-logo {
        height: clamp(45px, 5vw, 55px);
        width: clamp(45px, 5vw, 55px);
    }

    .nav-title {
        font-size: clamp(1.1rem, 2.8vw, 1.5rem);
    }
}

/* Tablet portrait and smaller landscape tablets */
@media (max-width: 1000px) and (min-width: 769px) {
    .hero {
        min-height: 95vh !important;
    }

    .hero-content {
        margin: clamp(70px, 8vh, 100px) auto;
        gap: clamp(1.5rem, 3vw, 3rem);
        padding: 0 clamp(20px, 4vw, 40px);
    }

    .hero-description {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        max-width: 90%;
    }

    .hero-logo-container {
        top: calc(50% + 80px);
        right: clamp(2%, 5vw, 6%);
        max-width: min(280px, 28vw);
    }

    .hero-main-logo {
        width: 250px;
        height: 250px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        bottom: 1.5rem !important;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 0.8rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }
}

/* Enhanced timeline */
.timeline-content::before {
    border-right-color: rgba(164, 119, 100, 0.1);
}

/* Enhanced features */
.feature-item {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
    color: #ffffff;
}

.feature-item i {
    color: #ff8c42;
}

/* Enhanced stats */
.stat-number {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 50%, #ffd54f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.4);
}

/* Enhanced badges */
.hero-badge {
    background: linear-gradient(135deg, #483434 0%, #677d6a 100%);
    color: white;
    box-shadow: 0 0 20px rgba(72, 52, 52, 0.3);
}

/* Enhanced newsletter */
.newsletter {
    background: rgba(72, 52, 52, 0.1);
    border-color: rgba(72, 52, 52, 0.2);
}

.newsletter-form input {
    background: rgba(10, 10, 10, 0.5);
    border-color: rgba(72, 52, 52, 0.3);
}

.newsletter-form input::placeholder {
    color: #cccccc;
}

/* Enhanced footer newsletter */
.footer-newsletter input {
    background: rgba(10, 10, 10, 0.5);
    border-color: rgba(72, 52, 52, 0.3);
}

.footer-newsletter button {
    background: var(--gradient-primary);
}

.footer-newsletter button:hover {
    box-shadow: var(--shadow-primary);
}

/* Enhanced scroll indicator */
.scroll-arrow {
    background: var(--gradient-primary);
}

.scroll-arrow::after {
    border-top-color: var(--mocha-mousse);
}

.scroll-indicator {
    color: var(--buttercream);
}

/* Enhanced mobile menu */
.hamburger span {
    background: var(--light);
}

/* Enhanced form validation */
.form-group input:invalid {
    border-color: #ef4444;
}

.form-group input:valid {
    border-color: var(--mocha-mousse);
}

/* Enhanced focus states */
.btn:focus,
input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(164, 119, 100, 0.3);
}

/* Advanced Scroll Animations */
.scroll-trigger {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-trigger.triggered {
    opacity: 1;
    transform: translateY(0);
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* GPU Acceleration */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Rules Section Styles */
.rules {
    background: #0a0a0a;
    padding: 6rem 0;
    position: relative;
}

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

.rule-card {
    background: rgba(72, 52, 52, 0.1);
    border: 1px solid rgba(72, 52, 52, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.rule-card:hover::before {
    left: 100%;
}

.rule-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(72, 52, 52, 0.3);
}

.rule-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c42 0%, #ffa726 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.rule-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rule-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* FAQ Section Styles */
.faq {
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.03) 0%,
        rgba(222, 184, 135, 0.04) 25%,
        rgba(205, 133, 63, 0.05) 50%,
        rgba(160, 82, 45, 0.03) 100%
    );
    padding: 6rem 0;
    position: relative;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq-content {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(72, 52, 52, 0.1);
    border: 1px solid rgba(72, 52, 52, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(72, 52, 52, 0.15);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #ff8c42;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Responsive FAQ adjustments */
@media (max-width: 768px) {
    .faq {
        padding: 4rem 0; /* Reduce padding on mobile */
    }
}

/* COMPREHENSIVE MOBILE OPTIMIZATIONS */
/* Tablet responsiveness for buttons */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-logo-container .hero-buttons {
        gap: 1.2rem;
        margin-top: 1rem;
    }

    .hero-logo-container .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        padding: 0 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.1;
        margin-bottom: 1.1rem;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    /* Mobile Button Optimizations */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        justify-content: center;
    }

    /* Hero Stats Mobile */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Premium Elements Mobile Optimization */
    .premium-design-layer {
        opacity: 0.6;
    }

    .geo-element {
        opacity: 0.5;
        transform: scale(0.7);
    }

    .geo-1 {
        top: 8%;
        right: 2%;
    }

    .geo-2 {
        bottom: 25%;
        left: 1%;
    }

    .geo-3 {
        top: 75%;
        right: 30%;
    }

    .geo-4 {
        top: 35%;
        left: 1%;
    }

    /* Tech Icons Mobile */
    .tech-icon {
        width: 40px;
        height: 40px;
        opacity: 0.7;
    }

    .tech-icon svg {
        width: 18px;
        height: 18px;
    }

    .tech-icon-1 {
        top: 12%;
        left: 35%;
    }

    .tech-icon-2 {
        bottom: 8%;
        right: 35%;
    }

    .tech-icon-3 {
        top: 60%;
        right: 2%;
    }

    /* Gradient Orbs Mobile */
    .orb-1 {
        width: 200px;
        height: 200px;
        top: 8%;
        left: 10%;
    }

    .orb-2 {
        width: 180px;
        height: 180px;
        top: 20%;
        right: 20%;
    }

    .orb-3 {
        width: 120px;
        height: 120px;
        top: 55%;
        right: 20%;
    }

    .orb-4 {
        width: 130px;
        height: 130px;
        bottom: 25%;
        right: 10%;
    }

    .orb-5 {
        width: 100px;
        height: 100px;
        bottom: 8%;
        right: 25%;
    }

    /* Mobile logo adjustments */
    .hero-logo-container {
        right: 5%;
        z-index: 10;
        gap: 1rem;
    }

    .hero-main-logo {
        width: 200px;
        height: 200px;
    }

    /* Mobile hero stats - original design */
    .hero-logo-container .hero-stats {
        gap: 1.5rem;
        margin-top: 0.5rem;
    }

    .hero-logo-container .stat-number {
        font-size: 1.8rem;
    }

    .hero-logo-container .stat-label {
        font-size: 0.8rem;
    }

    /* Mobile hero buttons - improved design */
    .hero-logo-container .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo-container .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        min-width: 200px;
        max-width: 250px;
        width: 100%;
        border-radius: 25px;
        justify-content: center;
    }

    .hero-logo-container .btn span {
        font-weight: 600;
    }

    .hero-logo-container .btn i {
        font-size: 1rem;
    }
}

/* Extra small screens (phones < 480px) */
@media (max-width: 480px) {
    .hero-logo-container .hero-buttons {
        gap: 0.8rem;
        margin-top: 1.2rem;
        max-width: 280px;
    }

    .hero-logo-container .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        min-width: 180px;
        max-width: 220px;
    }

    .hero-logo-container .btn span {
        font-size: 0.85rem;
    }

    .hero-logo-container .btn i {
        font-size: 0.9rem;
    }

    /* Optimize fixed elements for mobile */
    .gradient-orb {
        will-change: auto;
        transform: translateZ(0) scale(0.8);
    }

    /* Premium Lines Mobile */
    .accent-line {
        opacity: 0.4;
    }

    .line-1,
    .line-2,
    .line-3,
    .line-4,
    .line-5 {
        width: 50px;
    }

    /* Code Blocks Mobile */
    .code-block {
        padding: 8px;
        opacity: 0.5;
        transform: scale(0.8);
    }

    /* Dots Matrix Mobile */
    .dot-grid {
        width: 50px;
        height: 50px;
        background-size: 6px 6px;
        opacity: 0.3;
    }

    /* Particle System Mobile Optimization */
    .particle-system {
        opacity: 0.7;
    }

    .particle-type-1,
    .particle-type-2,
    .particle-type-3 {
        animation-duration: 8s;
    }

    /* Floating Icons Mobile */
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Network Elements Mobile */
    .network-line {
        width: 80px;
        opacity: 0.4;
    }

    .network-dot {
        width: 2px;
        height: 2px;
        opacity: 0.6;
    }

    /* Mobile Features Grid */
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Typing Container Mobile */
    .typing-container {
        font-size: 1rem;
        margin: 1rem 0;
        min-height: 2rem;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: 30px;
        opacity: 0.8;
    }

    .scroll-indicator span {
        font-size: 0.85rem;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Optimizations */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    /* Hide some premium elements on very small screens */
    .dots-matrix,
    .code-pattern-layer {
        display: none;
    }

    .premium-lines .line-4,
    .premium-lines .line-5 {
        display: none;
    }

    /* Reduce orb sizes further */
    .orb-1,
    .orb-2,
    .orb-3,
    .orb-4,
    .orb-5 {
        transform: scale(0.7);
        opacity: 0.6;
    }

    /* Simplify animations for performance */
    .geo-element,
    .tech-icon,
    .accent-line {
        animation: none;
        transition: none;
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-trigger {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Disable all premium animations for reduced motion */
    .geo-element,
    .tech-icon,
    .accent-line,
    .code-block,
    .dot-grid,
    .particle,
    .floating-icon {
        animation: none !important;
        transition: none !important;
    }
}

/* Performance Optimizations for All Devices */
.hero-background,
.premium-design-layer,
.gradient-orb,
.floating-icon,
.geo-element,
.tech-icon,
.particle-system {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimized particle animations */
.particle {
    will-change: transform, opacity;
    contain: strict;
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animation complexity */
    .geo-element {
        animation-duration: 12s;
        animation-timing-function: ease-in-out;
    }

    .tech-icon {
        animation-duration: 10s;
        animation-timing-function: ease-in-out;
    }

    /* Reduce particle count on mobile */
    .particle-system .particle:nth-child(n + 16) {
        display: none;
    }

    /* Optimize backdrop filters for mobile */
    .hero-buttons .btn,
    .tech-icon,
    .code-block {
        backdrop-filter: blur(8px);
    }

    /* Disable complex animations on low-end devices */
    .dots-matrix,
    .premium-lines .line-4,
    .premium-lines .line-5 {
        display: none;
    }

    /* Hide navbar on mobile */
    .navbar {
        display: none !important;
    }

    /* Show mobile header */
    .mobile-header {
        display: flex !important;
    }

    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Mobile Hero Section Restructure */
    .hero {
        padding-top: 65px; /* Account for mobile header */
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* Mobile Hero Order */
    .amity-presents {
        order: 1;
        background: rgba(18, 18, 20, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin: 20px 20px 20px 20px;
        margin-top: 0px !important;
        border: 1px solid rgba(255, 140, 66, 0.2);
        text-align: center;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: auto !important;
        z-index: 10;
        pointer-events: auto;
        display: block !important;
    }

    .amity-presents h1 {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: #fff;
        line-height: 1.3;
    }

    .amity-presents h2 {
        font-size: 0.9rem;
        font-weight: 500;
        margin: 0 0 8px 0;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.3;
    }

    .amity-presents p {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        color: rgba(255, 140, 66, 1);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-content {
        order: 2;
        padding: 20px;
        text-align: center;
        margin-top: 0px !important;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .typing-container {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    /* Show mobile hero logo */
    .mobile-hero-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.2rem 0 0.2rem 0;
        padding: 0;
    }

    .hero-features {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px;
        background: rgba(255, 140, 66, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(255, 140, 66, 0.3);
    }

    .feature-item i {
        color: rgba(255, 140, 66, 1);
        font-size: 1.2rem;
    }

    .feature-item span {
        font-weight: 600;
        color: #fff;
    }

    .hero-logo-container {
        order: 3;
        display: flex;
        justify-content: center;
        padding: 20px;
        margin-bottom: 0;
    }

    .hero-main-logo {
        width: 200px !important;
        height: 200px !important;
        object-fit: contain;
        filter: brightness(1.1) contrast(1.1)
            drop-shadow(0 4px 20px rgba(255, 140, 66, 0.4));
    }

    .hero-stats {
        display: none; /* Hide stats from logo container */
    }

    .hero-buttons {
        order: 4;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 12px;
        text-align: center;
        box-sizing: border-box;
    }

    /* Separate mobile hero stats section */
    .mobile-hero-stats {
        order: 5;
        display: flex;
        justify-content: space-around;
        background: rgba(18, 18, 20, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin: 0 20px 20px 20px;
        border: 1px solid rgba(255, 140, 66, 0.2);
    }

    .mobile-hero-stats .stat {
        text-align: center;
        flex: 1;
    }

    .mobile-hero-stats .stat-number {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
        color: rgba(255, 140, 66, 1);
        margin-bottom: 4px;
    }

    .mobile-hero-stats .stat-label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hide desktop hero layout elements */
    .hero-background,
    .network-lines,
    .network-dot {
        display: none;
    }

    .particles {
        opacity: 0.3;
    }

    .scroll-indicator {
        order: 6;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 30px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Enhanced print styles */
@media print {
    .navbar,
    .hero-buttons,
    .floating-elements,
    .scroll-indicator,
    .loading-screen {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .gradient-text {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* About Amity University Section Styles */
.about .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.host-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-gold);
}

.host-badge i {
    font-size: 1rem;
}

.about-vertical-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(72, 52, 52, 0.03);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid rgba(72, 52, 52, 0.08);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.about-vertical-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--mocha-mousse),
        transparent
    );
    opacity: 0.3;
}

.about-section {
    margin-bottom: 2.5rem;
    position: relative;
}

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

.section-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(164, 119, 100, 0.08) 0%,
        rgba(205, 136, 86, 0.05) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(164, 119, 100, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-header-inline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.section-header-inline:hover::before {
    left: 100%;
}

.section-header-inline:hover {
    background: linear-gradient(
        135deg,
        rgba(164, 119, 100, 0.12) 0%,
        rgba(205, 136, 86, 0.08) 100%
    );
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(164, 119, 100, 0.15);
    border-color: rgba(164, 119, 100, 0.2);
}

.section-header-inline.active {
    background: linear-gradient(
        135deg,
        rgba(164, 119, 100, 0.15) 0%,
        rgba(205, 136, 86, 0.1) 100%
    );
    border-color: var(--mocha-mousse);
    box-shadow: 0 25px 50px rgba(164, 119, 100, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.section-header-inline:hover .section-icon {
    transform: rotate(10deg) scale(1.1);
}

.section-header-inline.active .section-icon {
    background: var(--gradient-gold);
    transform: rotate(0deg) scale(1.05);
}

.section-header-inline h3 {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    line-height: 1.3;
}

.section-badge {
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-gold);
}

.header-actions {
    display: flex;
    align-items: center;
}

.expand-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mocha-mousse);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.expand-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.section-header-inline.active .expand-text {
    opacity: 0;
}

.expand-indicator i {
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header-inline.active .expand-indicator i {
    transform: rotate(180deg) scale(1.2);
    color: var(--maple-sugar);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-20px);
}

.section-content.active {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
}

.content-background {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(164, 119, 100, 0.1);
    box-shadow: 0 10px 30px rgba(164, 119, 100, 0.1);
    backdrop-filter: blur(10px);
}

.content-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 30px;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    bottom: 40px;
    left: 20px;
    animation-delay: 2s;
}

.shape-3 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 10px;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.content-text {
    position: relative;
    z-index: 1;
}

.content-text p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1rem;
}

.content-text p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    background: var(--mocha-mousse);
    border-radius: 50%;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-vertical-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .section-header-inline h3 {
        font-size: 1rem;
    }

    .section-content {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .about-vertical-container {
        padding: 1rem;
    }

    .section-header-inline {
        padding: 0.75rem;
    }

    .section-header-inline h3 {
        font-size: 0.9rem;
    }
}

/* Enhanced Responsive Design for New Dropdown */
@media (max-width: 768px) {
    .about-vertical-container {
        padding: 1.5rem;
        margin: 0 1rem;
        border-radius: 20px;
    }

    .section-header-inline {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .section-header-inline h3 {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.4;
    }

    .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .header-actions {
        justify-content: center;
    }

    .expand-indicator {
        font-size: 0.8rem;
    }

    .content-background {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .content-text p {
        font-size: 0.9rem;
        line-height: 1.7;
        padding-left: 0.75rem;
    }

    .content-text p::before {
        width: 3px;
        height: 3px;
        top: 0.6rem;
    }

    .shape-1 {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 20px;
    }

    .shape-2 {
        width: 30px;
        height: 30px;
        bottom: 30px;
        left: 15px;
    }

    .shape-3 {
        width: 25px;
        height: 25px;
        top: 40%;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .about-vertical-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .section-header-inline {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .header-content {
        gap: 0.5rem;
    }

    .section-header-inline h3 {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .expand-indicator {
        font-size: 0.75rem;
    }

    .content-background {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .content-text p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        padding-left: 0.5rem;
    }

    .content-text p::before {
        width: 2px;
        height: 2px;
        top: 0.7rem;
    }

    .floating-shapes {
        display: none; /* Hide shapes on very small screens for better performance */
    }
}

/* Hover effects for touch devices */
@media (hover: none) {
    .section-header-inline:hover {
        transform: none;
        box-shadow: none;
    }

    .section-header-inline:hover::before {
        left: -100%;
    }

    .section-header-inline:hover .section-icon {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-header-inline {
        border-width: 2px;
    }

    .content-background {
        border-width: 2px;
    }

    .section-badge {
        border: 1px solid var(--dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .section-header-inline,
    .section-content,
    .section-icon,
    .expand-indicator i,
    .floating-shapes,
    .content-text p {
        transition: none;
        animation: none;
    }

    .shape {
        animation: none;
    }
}

/* ===== 3D THEMES SECTION ===== */
.themes-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

/* Topics Badge */
.topics-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(139, 69, 19, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    color: #d2691e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.topics-badge i {
    font-size: 12px;
}

/* Themes Grid - Full Width Rectangles */
.themes-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
}

/* Theme Card - Full Width Rectangle */
.theme-card {
    position: relative;
    width: 100%;
    padding: 60px;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.9) 0%,
        rgba(160, 82, 45, 0.8) 50%,
        rgba(205, 133, 63, 0.7) 100%
    );
    border-radius: 25px;
    overflow: hidden;
    height: 300px;
    transition: all 0.4s ease;
    cursor: pointer;
    margin: 0 10px;
}

.theme-card:hover {
    /* Hover effect removed */
}

.theme-card[data-theme="iot"] {
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.9) 0%,
        rgba(160, 82, 45, 0.8) 50%,
        rgba(205, 133, 63, 0.7) 100%
    );
}

.theme-card[data-theme="blockchain"] {
    background: linear-gradient(
        135deg,
        rgba(75, 0, 130, 0.9) 0%,
        rgba(138, 43, 226, 0.8) 50%,
        rgba(147, 112, 219, 0.7) 100%
    );
}

.theme-card[data-theme="ai"] {
    background: linear-gradient(
        135deg,
        rgba(25, 25, 112, 0.9) 0%,
        rgba(65, 105, 225, 0.8) 50%,
        rgba(100, 149, 237, 0.7) 100%
    );
}

/* Theme Content - Rectangular Layout */
.theme-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.theme-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.theme-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Problem Statements Button */
.problem-statements-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.problem-statements-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    backdrop-filter: blur(10px);
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 35%;
    right: 8%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-icon.icon-4 {
    top: 75%;
    right: 12%;
    animation-delay: 3s;
}

.floating-icon.icon-5 {
    top: 45%;
    right: 25%;
    animation-delay: 4s;
}

.floating-icon.icon-6 {
    top: 85%;
    right: 30%;
    animation-delay: 5s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Mobile Responsive for Modern Themes */
@media (max-width: 768px) {
    .themes-grid {
        gap: 20px;
        margin-top: 40px;
        padding: 0 15px;
    }

    .theme-card {
        padding: 40px 30px;
        height: 250px;
        border-radius: 20px;
        margin: 0 5px;
    }

    .theme-content {
        max-width: 70%;
    }

    .theme-header h3 {
        font-size: 24px;
    }

    .theme-header p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .problem-statements-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .themes-grid {
        padding: 0 10px;
    }

    .theme-card {
        padding: 30px 20px;
        height: 220px;
        margin: 0;
    }

    .theme-content {
        max-width: 75%;
    }

    .theme-header h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .theme-header p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* Reduce floating icons on mobile for performance */
    .floating-icon.icon-4,
    .floating-icon.icon-5,
    .floating-icon.icon-6 {
        display: none;
    }
}

.themes-3d {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.themes-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 20%,
            rgba(229, 100, 30, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(238, 171, 0, 0.08) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.themes-3d-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
    perspective: 1000px;
}

.theme-3d-card {
    position: relative;
    height: 450px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.theme-3d-card:hover {
    transform: rotateY(180deg);
}

.card-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card-3d-front,
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #e5641e33;
    overflow: hidden;
}

.card-3d-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #eeab0033;
}

.theme-3d-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.icon-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5641e 0%, #eeab00 100%);
    border-radius: 20px;
    transform: rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 10px 20px rgba(229, 100, 30, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.icon-3d-wrapper i {
    font-size: 2rem;
    color: #0a0a0a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.icon-3d-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #e5641e33, #eeab0033);
    border-radius: 25px;
    filter: blur(10px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-3d-card:hover .icon-3d-glow {
    opacity: 1;
}

.theme-3d-content {
    text-align: center;
    color: #ffffff;
}

.theme-3d-index {
    display: inline-block;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    color: #0a0a0a;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.theme-3d-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-3d-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-3d-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(229, 100, 30, 0.1));
    pointer-events: none;
}

.theme-details h4 {
    color: #e5641e;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.theme-details ul {
    list-style: none;
    margin-bottom: 25px;
}

.theme-details li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.theme-details li:before {
    content: "▶";
    color: #eeab00;
    position: absolute;
    left: 0;
}

.tech-stack-3d {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-stack-3d span {
    background: rgba(229, 100, 30, 0.2);
    color: #e5641e;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #e5641e33;
}

.theme-3d-btn {
    background: linear-gradient(135deg, #e5641e, #eeab00);
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    text-decoration: none;
}

.theme-3d-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 100, 30, 0.3);
}

.floating-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    border-radius: 4px;
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
}

.cube-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.cube-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.floating-sphere {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #eeab00, #e5641e);
    border-radius: 50%;
    top: 50%;
    right: 30%;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.7;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ===== 3D TIMELINE SECTION ===== */
.timeline-3d {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.timeline-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 40%,
            rgba(238, 171, 0, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(229, 100, 30, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.timeline-3d-container {
    position: relative;
    max-width: 800px;
    margin: 80px auto 0;
}

.timeline-3d-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e5641e, #eeab00);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(229, 100, 30, 0.5);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #eeab00, #e5641e);
    border-radius: 2px;
    animation: timeline-progress 2s ease-in-out forwards;
}

@keyframes timeline-progress {
    to {
        height: 100%;
    }
}

.timeline-3d-item {
    position: relative;
    margin: 60px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: timeline-item-appear 0.8s ease forwards;
}

.timeline-3d-item:nth-child(even) .timeline-3d-content {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-3d-item:nth-child(odd) .timeline-3d-content {
    margin-right: calc(50% + 40px);
    text-align: right;
}

.timeline-3d-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 60px;
    height: 60px;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(229, 100, 30, 0.4),
        0 0 0 8px rgba(229, 100, 30, 0.1);
    transition: all 0.3s ease;
}

.marker-inner i {
    font-size: 1.5rem;
    color: #0a0a0a;
}

.marker-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #e5641e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.timeline-3d-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e5641e33;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.timeline-3d-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 30px 60px rgba(229, 100, 30, 0.2);
}

.card-time {
    background: linear-gradient(135deg, #e5641e, #eeab00);
    color: #0a0a0a;
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-3d-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-3d-card p {
    color: #cccccc;
    line-height: 1.6;
}

.card-3d-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    opacity: 0.1;
}

.deco-cube,
.deco-sphere,
.deco-pyramid,
.deco-cylinder,
.deco-diamond,
.deco-hexagon,
.deco-octahedron,
.deco-dodecahedron,
.deco-star {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    animation: rotate3d 10s linear infinite;
}

.deco-sphere {
    border-radius: 50%;
}
.deco-diamond {
    transform: rotate(45deg);
}
.deco-hexagon {
    clip-path: polygon(
        25% 6.7%,
        75% 6.7%,
        100% 50%,
        75% 93.3%,
        25% 93.3%,
        0% 50%
    );
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes timeline-item-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-3d-item:nth-child(2) {
    animation-delay: 0.1s;
}
.timeline-3d-item:nth-child(3) {
    animation-delay: 0.2s;
}
.timeline-3d-item:nth-child(4) {
    animation-delay: 0.3s;
}
.timeline-3d-item:nth-child(5) {
    animation-delay: 0.4s;
}
.timeline-3d-item:nth-child(6) {
    animation-delay: 0.5s;
}
.timeline-3d-item:nth-child(7) {
    animation-delay: 0.6s;
}
.timeline-3d-item:nth-child(8) {
    animation-delay: 0.7s;
}
.timeline-3d-item:nth-child(9) {
    animation-delay: 0.8s;
}
.timeline-3d-item:nth-child(10) {
    animation-delay: 0.9s;
}

/* Night theme for evening items */
.timeline-3d-item.night .timeline-3d-card {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2a 100%);
    border-color: #2a2a4a;
}

.timeline-3d-item.dawn .timeline-3d-card {
    background: linear-gradient(135deg, #1a1a0f 0%, #2a2a1a 100%);
    border-color: #4a4a2a;
}

/* ===== 3D PRIZES SECTION ===== */
.prizes-3d {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.prizes-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:transparent;
    pointer-events: none;
}

.prizes-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 80px;
    perspective: 1200px;
    justify-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.prize-3d-card {
    position: relative;
    height: 420px;
    cursor: pointer;
}

.prize-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.prize-3d-card:hover .prize-3d-inner {
    transform: rotateY(180deg);
}

.prize-3d-front,
.prize-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
}

.prize-3d-front {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.first-place .prize-3d-front {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%),
        linear-gradient(135deg, #eeab00, #e5641e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 3px solid transparent;
    box-shadow: 0 20px 40px rgba(238, 171, 0, 0.3);
}

.second-place .prize-3d-front {
    border-color: #e5641e;
    box-shadow: 0 20px 40px rgba(229, 100, 30, 0.2);
}

.third-place .prize-3d-front {
    border-color: #eeab0080;
    box-shadow: 0 20px 40px rgba(238, 171, 0, 0.15);
}

.special-awards .prize-3d-front {
    border-color: #e5641e80;
    box-shadow: 0 20px 40px rgba(229, 100, 30, 0.1);
}

.prize-3d-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #e5641e33;
}

.prize-crown-3d {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    perspective: 1000px;
}

.crown-main {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eeab00, #e5641e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 15px 30px rgba(238, 171, 0, 0.4),
        inset 0 5px 10px rgba(255, 255, 255, 0.2);
}

.crown-main i {
    font-size: 2.5rem;
    color: #0a0a0a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.crown-gems {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

.gem {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff, #cccccc);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: gem-sparkle 2s ease-in-out infinite;
}

.gem-1 {
    top: 10px;
    right: 20px;
    animation-delay: 0s;
}
.gem-2 {
    bottom: 15px;
    left: 25px;
    animation-delay: 0.7s;
}
.gem-3 {
    top: 30px;
    left: 10px;
    animation-delay: 1.4s;
}
.gem-special {
    top: 20px;
    right: 15px;
    animation-delay: 0.5s;
}

@keyframes gem-sparkle {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.prize-rank {
    
   
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    
}

.prize-3d-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.prize-amount {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #eeab00, #e5641e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.per-theme {
    display: block;
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 400;
    margin-top: 5px;
}

.prize-3d-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        circle,
        rgba(238, 171, 0, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prize-3d-card:hover .prize-3d-glow {
    opacity: 1;
}

.prize-benefits {
    list-style: none;
    text-align: left;
    margin-top: 30px;
}

.prize-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cccccc;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(229, 100, 30, 0.05);
    transition: all 0.3s ease;
}

.prize-benefits li:hover {
    background: rgba(229, 100, 30, 0.1);
    transform: translateX(5px);
}

.prize-benefits i {
    color: #e5641e;
    width: 20px;
}

.floating-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    border-radius: 4px;
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
}

.cube-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.cube-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.floating-sphere {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #eeab00, #e5641e);
    border-radius: 50%;
    top: 50%;
    right: 30%;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.7;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ===== KEY INFO SECTION ===== */
.key-info {
    padding: 80px 0;
    background: transparent;
}

/* Layout: wheel on left, detail on right */
.key-info-layout {
    display: flex;
    gap: 60px;
    align-items: stretch;
    margin-top: 40px;
}

.info-wheel-wrapper {
    position: relative;
    width: 440px;
    height: 440px;
    flex-shrink: 0;
    perspective: 1600px;
}
.info-wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    --item-count: 8;
    transform-style: preserve-3d;
}

.wheel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 120px;
    transform-style: preserve-3d;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(229, 100, 30, 0.15);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0.35;
    transform-origin: center center;
    transition: opacity 0.5s, box-shadow 0.5s, border-color 0.5s,
        transform 0.8s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.wheel-card.active {
    opacity: 1;
    box-shadow: 0 12px 32px rgba(229, 100, 30, 0.22);
    border-color: rgba(229, 100, 30, 0.4);
}
.wheel-card:focus-visible {
    outline: 2px solid #e5641e;
    outline-offset: 2px;
}

/* Icon reused */
.wheel-card .info-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
}
.wheel-card .info-body h3 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.wheel-card .info-body p {
    margin: 0;
    font-size: 0.8rem;
    color: #d0c6c1;
}

/* Right side detail panel */
.key-info-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.key-info-details .detail-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    display: grid;
    place-items: center;
    font-size: 40px;
    color: #0a0a0a;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(229, 100, 30, 0.25);
}
.key-info-details .detail-title {
    font-size: 2rem;
    margin: 0 0 14px;
    color: #fff;
}
.key-info-details .detail-text {
    font-size: 1.05rem;
    color: #d9cdc8;
    max-width: 520px;
    line-height: 1.5;
    margin: 0 0 28px;
}
.detail-progress {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.detail-progress .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #e5641e, #eeab00);
}

.wheel-controls {
    position: absolute;
    inset: auto 0 -56px 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}
.wheel-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(229, 100, 30, 0.25);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.wheel-btn:hover {
    background: rgba(229, 100, 30, 0.25);
    border-color: rgba(229, 100, 30, 0.5);
    transform: translateY(-3px);
}
.wheel-btn:active {
    transform: translateY(0);
}
.wheel-btn:focus-visible {
    outline: 2px solid #e5641e;
    outline-offset: 3px;
}

/* Provide fallback static grid for reduced motion / narrow screens */
@media (max-width: 1100px) {
    .key-info-layout {
        flex-direction: column;
        align-items: center;
    }
    .info-wheel-wrapper {
        width: 360px;
        height: 360px;
    }
    .wheel-card {
        width: 160px;
        height: 112px;
    }
}

@media (max-width: 760px) {
    .info-wheel-wrapper {
        display: none;
    }
    .key-info-details {
        align-items: flex-start;
    }
    .key-info-details::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0)
        );
        margin: 10px 0 24px;
    }
    /* resurrect simplified list */
    .key-info-layout {
        display: block;
    }
    .key-info-details {
        padding-top: 10px;
    }
    .key-info-details .detail-title {
        font-size: 1.6rem;
    }
    .key-info-details .detail-text {
        font-size: 0.95rem;
    }
    .key-info-details .stacked-list {
        display: grid;
        gap: 16px;
        margin-top: 26px;
    }
    .key-info-details .stacked-item {
        display: flex;
        gap: 14px;
        align-items: center;
        padding: 14px 16px;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.02)
        );
        border: 1px solid rgba(229, 100, 30, 0.15);
        border-radius: 14px;
    }
    .key-info-details .stacked-item h4 {
        margin: 0 0 2px;
        font-size: 0.95rem;
        color: #fff;
    }
    .key-info-details .stacked-item p {
        margin: 0;
        font-size: 0.78rem;
        color: #d0c6c1;
    }
    .key-info-details .stacked-item .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .key-info-layout {
        display: block;
    }
    .key-info-details {
        padding-top: 10px;
    }
    .key-info-details .detail-title {
        font-size: 1.4rem;
    }
    .key-info-details .detail-text {
        font-size: 0.9rem;
    }
    .key-info-details .stacked-list {
        display: grid;
        gap: 14px;
        margin-top: 20px;
    }
    .key-info-details .stacked-item {
        padding: 12px 14px;
    }
    .key-info-details .stacked-item h4 {
        font-size: 0.9rem;
    }
    .key-info-details .stacked-item p {
        font-size: 0.75rem;
    }
}

/* ===== TERMS & CONDITIONS: Horizontal stacking on scroll ===== */
.terms {
    padding: 80px 0;
    background: #0a0a0a;
}

/* ===== MEMORIES COLLAGE GALLERY ===== */
.memories-grid {
    /* Professional collage layout with generous spacing */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 180px);
    gap: 12px;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.3),
        rgba(0, 0, 0, 0.1)
    );
    border-radius: 16px;
    height: auto; /* let it size naturally with content + padding */
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.memories-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

/* Create varied collage layout with different image sizes */
.memories-grid img:nth-child(1) {
    /* Hero image - large feature spot */
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.memories-grid img:nth-child(2) {
    /* Top right */
    grid-column: 4 / 6;
    grid-row: 1 / 2;
}

.memories-grid img:nth-child(3) {
    /* Middle right */
    grid-column: 6 / 7;
    grid-row: 1 / 3;
}

.memories-grid img:nth-child(4) {
    /* Wide middle */
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.memories-grid img:nth-child(5) {
    /* Bottom left */
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.memories-grid img:nth-child(6) {
    /* Bottom wide */
    grid-column: 3 / 7;
    grid-row: 3 / 4;
}

.memories-grid img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1) saturate(1.1);
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .memories-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 160px);
        gap: 10px;
        padding: 16px;
    }

    .memories-grid img:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .memories-grid img:nth-child(2) {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .memories-grid img:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .memories-grid img:nth-child(4) {
        grid-column: 4 / 5;
        grid-row: 2 / 4;
    }

    .memories-grid img:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 3 / 5;
    }

    .memories-grid img:nth-child(6) {
        grid-column: 2 / 4;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {
    .memories-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 150px);
        gap: 8px;
        padding: 12px;
    }

    .memories-grid img:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .memories-grid img:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .memories-grid img:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .memories-grid img:nth-child(4) {
        grid-column: 1 / 4;
        grid-row: 3 / 4;
    }

    .memories-grid img:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .memories-grid img:nth-child(6) {
        grid-column: 2 / 4;
        grid-row: 4 / 5;
    }
}

@media (max-width: 480px) {
    .memories-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 140px);
        gap: 6px;
        padding: 10px;
    }

    .memories-grid img:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .memories-grid img:nth-child(2),
    .memories-grid img:nth-child(3),
    .memories-grid img:nth-child(4),
    .memories-grid img:nth-child(5),
    .memories-grid img:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .memories-grid img {
        transition: none;
        transform: none;
    }
}

/* Static Terms & Conditions */
/* Simplified Terms & Conditions: plain text list (no boxes) */
.terms-static {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}
.terms-static .intro {
    margin: 0 0 18px;
    font-size: 1rem;
    color: #e9e6e2;
    letter-spacing: 0.3px;
    font-weight: 500;
}
.terms-points {
    display: block;
}
.tp-item {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #f2efec;
    font-weight: 400;
    padding: 0;
    position: static;
}
.tp-item {
    position: relative;
    padding-left: 18px;
}
.tp-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e5641e, #eeab00);
    opacity: 0.55;
    transition: opacity 0.3s, transform 0.3s;
}
.tp-item:hover::before {
    opacity: 1;
    transform: scaleX(1.2);
}
.tp-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}
.tp-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(229, 100, 30, 0.4),
        rgba(229, 100, 30, 0)
    );
    opacity: 0.3;
    pointer-events: none;
}
.tp-item:hover {
    color: #fff;
}
.terms-points {
    animation: termsFadeIn 0.6s ease both;
}
/* Centered layout refinement for Terms */
.terms {
    text-align: center;
}
.terms-static .intro {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.terms-points {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.tp-item {
    padding-left: 22px;
}
.tp-item::before {
    left: 8px;
}
@media (max-width: 700px) {
    .terms-points {
        padding: 0 8px;
    }
    .tp-item {
        padding-left: 18px;
    }
    .tp-item::before {
        left: 4px;
    }
}
@media (max-width: 900px) {
    .terms-static {
        margin-top: 28px;
    }
    .tp-item {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }
}
@media (max-width: 560px) {
    .tp-item {
        font-size: 0.86rem;
    }
}
/* ===== TERMS & CONDITIONS ENHANCED (centered cards) ===== */
.terms-static {
    padding: 10px 0 0;
}
.terms {
    text-align: center;
}
/* Consolidated single-block terms styling */
.terms-points.single-block {
    max-width: 820px;
    margin: 10px auto 0;
}
/* Centered, larger, spaced Terms points */
.terms-inline {
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.5;
    font-weight: 500;
    color: #f3f0ec;
    letter-spacing: 0.25px;
    text-align: left;
    max-width: 600px;
}
.terms-inline .tp-inline {
    position: relative;
    display: block;
    padding-left: 28px;
    margin: 0 0 12px 0;
    font-size: 1.3em;
}
.terms-inline .tp-inline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    box-shadow: 0 0 0 3px rgba(229, 100, 30, 0.15);
}
.terms-inline .tp-inline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5641e, #eeab00);
    box-shadow: 0 0 0 3px rgba(229, 100, 30, 0.15);
}
/* Improve separation using line breaks spacing */
.terms-inline br {
    line-height: 2.2;
}
@media (max-width: 700px) {
    .terms-inline {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .terms-inline .tp-inline {
        padding-left: 14px;
    }
    .terms-inline .tp-inline::before {
        width: 7px;
        height: 7px;
        top: 0.6em;
    }
}
@media (max-width: 900px) {
    .terms-static {
        margin-top: 28px;
    }
    .tp-item {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }
}
@media (max-width: 560px) {
    .tp-item {
        font-size: 0.86rem;
    }
}

/* Mobile Hero Features Centering */
@media (max-width: 768px) {
    .hero-features {
        left: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 1.5rem auto 0 auto !important;
        width: 100% !important;
        max-width: 90vw !important;
    }
    
    .hero-features .feature-item {
        text-align: center !important;
        justify-content: center !important;
        margin: 0 auto 0.5rem auto !important;
    }
}

/* Standardize Prize Card Dimensions */
.prize-3d-card {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

.prize-3d-card.first-place,
.prize-3d-card.second-place,
.prize-3d-card.third-place {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

.prize-3d-inner {
    width: 100% !important;
    height: 100% !important;
}

.prize-3d-front,
.prize-3d-back {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

/* Mobile Prize Card Optimizations */
@media (max-width: 768px) {
    .prizes-3d-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 350px !important;
        margin: 40px auto 0 auto !important;
    }
    
    .prize-3d-card {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
    }
    
    .prize-3d-front,
    .prize-3d-back {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
        padding: 25px 20px !important;
    }
    
    .prize-crown-3d {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 20px auto !important;
    }
    
    .crown-main i {
        font-size: 2rem !important;
    }
    
    .prize-rank {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .prize-3d-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
    
    .prize-amount {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }
    
    .per-theme {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .prize-3d-card {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
    
    .prize-3d-front,
    .prize-3d-back {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
        padding: 20px 15px !important;
    }
    
    .prize-crown-3d {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto 15px auto !important;
    }
    
    .crown-main i {
        font-size: 1.8rem !important;
    }
    
    .prize-rank {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .prize-3d-card h3 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .prize-amount {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .per-theme {
        font-size: 0.8rem !important;
    }
}

/* Mobile Terms & Conditions Optimization */
@media (max-width: 768px) {
    .tandc-outer {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 90vw !important;
        padding: 20px 15px !important;
    }
    
    .tandc-title {
        font-size: 3rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .tandc-list {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        left: 0 !important;
        transform: none !important;
        padding-left: 20px !important;
        max-width: 100% !important;
    }
    
    .tandc-list li {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        margin-bottom: 12px !important;
        padding-left: 0 !important;
        text-align: left !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }
    
    .terms {
        padding: 40px 0 !important;
        margin: 0 0 0px 0 !important;
    }
}

@media (max-width: 480px) {
    .tandc-outer {
        max-width: 95vw !important;
        padding: 15px 10px !important;
    }
    
    .tandc-title {
        font-size: 3rem !important;
        margin-bottom: 15px !important;
    }
    
    .tandc-list {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        padding-left: 15px !important;
    }
    
    .tandc-list li {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 10px !important;
    }
    
    .terms {
        padding: 30px 0 !important;
        margin: 0 0 25px 0 !important;
    }
}

/* Additional Mobile Hero Features Optimization */
@media (max-width: 600px) {
    .hero-features {
        flex-direction: column !important;
        gap: 0.8rem !important;
        margin-top: 2rem !important;
    }
    
    .feature-item {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
    
    .feature-item i {
        margin-right: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-features {
        gap: 0.6rem !important;
        margin-top: 1.5rem !important;
    }
    
    .feature-item {
        max-width: 260px !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .feature-item i {
        font-size: 0.9rem !important;
        margin-right: 0.4rem !important;
    }
}

/* Rules Header and Label Styles */
.rules-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 48px;
}

.rules-label {
    font-size: 1.32rem;
    color: #ffb100;
    font-weight: 600;
    display: inline-block;
    flex-shrink: 0;
}

/* Mobile Rules Header Optimization */
@media (max-width: 768px) {
    .rules-header {
        justify-content: center !important;
        margin: 0 auto 15px auto !important;
        min-height: 40px !important;
    }
    
    .rules-label {
        font-size: 1.2rem !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .rules-header {
        margin: 0 auto 12px auto !important;
        min-height: 35px !important;
    }
    
    .rules-label {
        font-size: 1.1rem !important;
    }
}

/* Maximum visibility for mentor names with background highlight */
.mentor-card h3.mentor-name {
    background: rgba(0, 0, 0, 0.7) !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    margin: 0.8rem auto 0.3rem auto !important;
    max-width: 90% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ensure the background highlight is visible on all screen sizes */
@media (min-width: 768px) {
    .mentor-card h3.mentor-name {
        background: rgba(0, 0, 0, 0.8) !important;
        padding: 10px 15px !important;
        border-radius: 8px !important;
        margin: 1rem auto 0.4rem auto !important;
        max-width: 85% !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (min-width: 1024px) {
    .mentor-card h3.mentor-name {
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 12px 18px !important;
        border-radius: 10px !important;
        margin: 1.2rem auto 0.5rem auto !important;
        max-width: 80% !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    }
}

/* Hero Title Text Wrapping Control */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title .cybercup-text {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 5.625rem !important; /* 90px equivalent */
}

.hero-title .version-text {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    display: block !important;
    width: 100% !important;
    margin-top: -0.1em !important;
    margin-left: 0.1em !important;
    font-size: 5.625rem !important; /* 90px equivalent */
}

/* Mobile Responsive Hero Title */
@media (max-width: 768px) {
    .hero-title {
        align-items: center;
        text-align: center;
    }
    
    .hero-title .cybercup-text {
        font-size: 3.5rem !important;
        margin-bottom: 0 !important;
    }
    
    .hero-title .version-text {
        font-size: 3.5rem !important;
        margin-top: -0.15em !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    .hero-title .cybercup-text {
        font-size: 3rem !important;
    }
    
    .hero-title .version-text {
        font-size: 3rem !important;
        margin-top: -0.2em !important;
    }
}

/* Large Desktop Hero Title */
@media (min-width: 1200px) {
    .hero-title .cybercup-text {
        font-size: 6.25rem !important; /* 100px equivalent */
    }
    
    .hero-title .version-text {
        font-size: 6.25rem !important; /* 100px equivalent */
    }
}

@media (min-width: 1400px) {
    .hero-title .cybercup-text {
        font-size: 7.5rem !important; /* 120px equivalent */
    }
    
    .hero-title .version-text {
        font-size: 7.5rem !important; /* 120px equivalent */
    }
}

@media (max-width: 480px) {
    .hero-title .cybercup-text {
        font-size: 2.5rem !important;
    }
    
    .hero-title .version-text {
        font-size: 2.5rem !important;
        margin-top: -0.25em !important;
    }
}

@media (max-width: 360px) {
    .hero-title .cybercup-text {
        font-size: 2.2rem !important;
    }
    
    .hero-title .version-text {
        font-size: 2.2rem !important;
        margin-top: -0.3em !important;
    }
}

/* Laptop and Desktop Terms & Conditions Optimization */
@media (min-width: 768px) {
    .tandc-outer {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 900px !important;
        width: 100% !important;
        padding: 0 20px !important;
    }
    
    .tandc-list {
        left: 0 !important;
        transform: none !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
    }
    
    .tandc-list li {
        font-size: 1.2rem !important;
        line-height: 2.2 !important;
        margin-bottom: 0.8rem !important;
        padding-left: 0.8em !important;
        max-width: 100% !important;
    }
    
    .tandc-title {
        font-size: 3rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .rules-header {
        margin: 0 auto 25px auto !important;
        min-height: 55px !important;
    }
    
    .rules-label {
        font-size: 1.5rem !important;
    }
    
    .terms {
        padding: 50px 0 !important;
        margin: 0 0 0 0 !important;
    }
}

@media (min-width: 1024px) {
    .tandc-outer {
        max-width: 1000px !important;
        padding: 0 30px !important;
    }
    
    .tandc-list {
        max-width: 900px !important;
        padding-left: 30px !important;
    }
    
    .tandc-list li {
        font-size: 1.3rem !important;
        line-height: 2.3 !important;
        margin-bottom: 1rem !important;
        padding-left: 1em !important;
    }
    
    .tandc-title {
        font-size: 3rem !important;
        margin-bottom: 2rem !important;
    }
    
    .rules-header {
        margin: 0 auto 30px auto !important;
        min-height: 60px !important;
    }
    
    .rules-label {
        font-size: 1.6rem !important;
    }
    
    .terms {
        padding: 60px 0 !important;
        margin: 0 0 0px 0 !important;
    }
}

@media (min-width: 1200px) {
    .tandc-outer {
        max-width: 1100px !important;
        padding: 0 40px !important;
    }
    
    .tandc-list {
        max-width: 1000px !important;
        padding-left: 40px !important;
    }
    
    .tandc-list li {
        font-size: 1.4rem !important;
        line-height: 2.4 !important;
        margin-bottom: 1.2rem !important;
        padding-left: 1.2em !important;
    }
    
    .tandc-title {
        font-size: 3rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .rules-header {
        margin: 0 auto 35px auto !important;
        min-height: 65px !important;
    }
    
    .rules-label {
        font-size: 1.7rem !important;
    }
    
    .terms {
        padding: 70px 0 !important;
        margin: 0 0 px 0 !important;
    }
}

/* Mobile Theme Animation Adjustment - Move Upwards */
@media (max-width: 768px) {
    .themes-section .theme-container .theme-animation {
        margin-top: -15px !important;
        transform: translateY(-10px) !important;
    }
}

@media (max-width: 600px) {
    .themes-section .theme-container .theme-animation {
        margin-top: -20px !important;
        transform: translateY(-15px) !important;
    }
}

@media (max-width: 480px) {
    .themes-section .theme-container .theme-animation {
        margin-top: -25px !important;
        transform: translateY(-20px) !important;
    }
}

/* Prize Cards Horizontal Center Alignment */
.prizes-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 80px;
    perspective: 1200px;
    justify-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Ensure prize cards are centered on all screen sizes */
@media (min-width: 768px) {
    .prizes-3d-container {
        justify-items: center !important;
        justify-content: center !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        max-width: 1200px !important;
        margin: 80px auto 0 auto !important;
    }
}

@media (min-width: 1024px) {
    .prizes-3d-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        max-width: 1400px !important;
        gap: 40px !important;
    }
}

@media (min-width: 1200px) {
    .prizes-3d-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        max-width: 1600px !important;
        gap: 50px !important;
    }
}

/* Mobile Theme Container Height Increase */
@media (max-width: 768px) {
    .themes-section .theme-container {
        min-height: calc(380px + 50px) !important; /* Increase by 50px from base 380px */
        height: auto !important;
    }
}

@media (max-width: 600px) {
    .themes-section .theme-container {
        min-height: calc(357px + 50px) !important; /* Increase by 50px from base 357px */
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .themes-section .theme-container {
        min-height: calc(287px + 50px) !important; /* Increase by 50px from base 287px */
        height: auto !important;
    }
}

@media (max-width: 360px) {
    .themes-section .theme-container {
        min-height: calc(250px + 50px) !important; /* Increase by 50px from base 250px */
        height: auto !important;
    }
}

/* Contact Us Page Mobile Centering */
@media (max-width: 768px) {
    .contact-modern-grid {
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    .contact-modern-card,
    .contact-modern-form {
        flex: 1 1 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .contact .container {
        padding: 0 20px !important;
    }
}

@media (max-width: 600px) {
    .contact-modern-grid {
        gap: 25px !important;
    }
    
    .contact-modern-card,
    .contact-modern-form {
        padding: 30px 25px !important;
    }
    
    .contact .container {
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .contact-modern-grid {
        gap: 20px !important;
    }
    
    .contact-modern-card,
    .contact-modern-form {
        padding: 25px 20px !important;
    }
    
    .contact .container {
        padding: 0 10px !important;
    }
    
    .contact {
        padding: 80px 0 !important;
    }
}