/*=============== GOOGLE FONTS ===============*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Orbitron:wght@400;500;600&display=swap");

/*=============== PRELOADER ===============*/


/* Preloader Styles - Matching about-style.css */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    /* Highest priority */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* "Blueprint" Grid Pattern */
    transition: opacity 0.6s ease-out, visibility 0.6s;
    overflow: hidden;
    /* Prevent scrollbars during load */
}


/* 1. LOGO STYLES */

.logo-container2 {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
}

.logo-icon {
    width: 300px;
    height: 300px;
    background: #ffffff;
    /* Hexagon Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo-icon span {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 32px;
}

.logo-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px dashed #6200ea;
    /* Electric Purple */
    border-radius: 50%;
    animation: spin 8s linear infinite;
    z-index: 1;
}


/* 2. TEXT STYLES */

h1.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    text-align: center;
    line-height: 1;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.2s;
}


/* Glitch Layers */

h1.brand-name::before,
h1.brand-name::after {
    content: "GameLiminals";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0.8;
}

h1.brand-name::before {
    color: #ff0055;
    z-index: -1;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

h1.brand-name::after {
    color: #00f0ff;
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.tagline-box {
    background: linear-gradient(255deg, rgba(125, 147, 255, 1) 0%, rgba(252, 70, 107, 1) 100%);
    color: #fff;
    padding: 8px 24px;
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 4px;
    display: inline-block;
    box-shadow: 6px 6px 0px rgba(98, 0, 234, 0.2);
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.4s;
}

.tagline-text {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    /* Ensure you import this font */
    font-weight: bold;
}


/* 3. LOADING BAR */

.loader-wrapper {
    margin-top: 45px;
    width: 300px;
    max-width: 80%;
    text-align: center;
    opacity: 0;
    animation: preloaderContent 3s ease-in-out forwards;
    animation-delay: 0.6s;
}

.loading-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: #6200ea;
    width: 0%;
    box-shadow: 0 0 10px rgba(98, 0, 234, 0.5);
    animation: fillBar 3s ease-in-out forwards;
}


/* 4. ANIMATIONS */

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    40% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes preloaderContent {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Glitch Keyframes */

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 0);
    }

    100% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(1px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 0);
    }
}


/* Helper Class to Hide */

.hide-preloader {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}


/* =========================================
   RESPONSIVE QUERIES
   ========================================= */


/* Tablet & Small Laptops (Max Width: 992px) */

@media (min-width: 1280px) and (max-width: 1450px) {
    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }
}

@media (max-width:1280px) {
    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }
}

@media (max-width: 992px) {
    h1.brand-name {
        font-size: 3rem;
    }

    .logo-icon {
        width: 300px;
        height: 300px;
    }

    .logo-ring {
        width: 95px;
        height: 95px;
    }

    .logo-icon span {
        font-size: 28px;
    }
}


/* Tablet & Small Laptops (Max Width: 992px) */

@media (max-width: 992px) {
    h1.brand-name {
        font-size: 3rem;
    }

    /* 1. Show the Hamburger Icon */
    .hamburger {
        display: flex !important;
        z-index: 1100;
        position: relative;
    }

    /* 2. Transform the Menu into a Mobile Drawer */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on your header height */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease-in-out;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-medium);
        z-index: 1050;
        display: flex;
        /* Ensure it's visible as a flex column */
    }

    /* 3. Slide Menu in when Active */
    .nav-menu.active {
        left: 0;
    }

    /* 4. Hamburger 'X' Animation */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 5. Mobile Nav Link Adjustments */
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
    }

    .nav-link::after {
        display: none;
        /* Remove desktop underline effect */
    }

    /* 6. Logo Adjustments to avoid crowding */
    .logo-img {
        height: 45px;
    }

    .logo-title,
    .logo-subtitle {
        display: none;
    }

    /* =========================================
   FOOTER – EVENTS STYLE (MATCH IMAGE)
   Max-width: 992px
   ========================================= */
    footer {
        background: #0b0f14;
        color: #cbd5e1;
        padding: 4rem 6% 2rem;
        font-family: 'Poppins', sans-serif;
    }

    /* GRID LAYOUT */
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 4rem;
    }

    /* HEADINGS */
    footer h3,
    footer h4 {
        font-family: 'Orbitron', sans-serif;
        color: #ffffff;
        margin-bottom: 1.2rem;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    /* LEFT BLOCK */
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.7;
        color: #94a3b8;
        max-width: 280px;
    }

    .footer-brand i {
        color: #4a6fff;
        margin-right: 8px;
    }

    /* LINKS */
    .footer-links,
    .footer-resources,
    .footer-socials {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .footer-links a,
    .footer-resources a,
    .footer-socials a {
        color: #cbd5e1;
        text-decoration: none;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .footer-links a:hover,
    .footer-resources a:hover,
    .footer-socials a:hover {
        color: #4a6fff;
        transform: translateX(4px);
    }

    .footer-socials i {
        color: #4a6fff;
        font-size: 1rem;
    }

    /* EMAIL */
    .footer-email {
        margin-top: 1rem;
        font-size: 0.85rem;
        color: #94a3b8;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-email i {
        color: #4a6fff;
    }

    /* BOTTOM BAR */
    .footer-bottom {
        margin-top: 3rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        font-size: 0.8rem;
        color: #94a3b8;
    }

    .footer-bottom small {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.75rem;
        opacity: 0.8;
    }
}


/* Mobile Devices (Max Width: 600px) */

@media (max-width: 600px) {
    h1.brand-name {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .tagline-box {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .loader-wrapper {
        width: 220px;
        margin-top: 35px;
    }

    .logo-icon {
        width: 200px;
        height: 200px;
    }

    .logo-ring {
        width: 85px;
        height: 85px;
    }

    .logo-icon span {
        font-size: 24px;
    }
}


/* Mini Mobile / Older Devices (Max Width: 380px) */

@media (max-width: 380px) {
    h1.brand-name {
        font-size: 1.8rem;
    }

    /* Prevent text wrapping */
    .tagline-box {
        font-size: 0.7rem;
        letter-spacing: 1px;
        transform: skewX(-10deg);
        /* Reduce skew to save space */
    }

    .tagline-text {
        transform: skewX(10deg);
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .logo-icon {
        width: 150px;
        height: 150px;
    }

    .logo-ring {
        width: 70px;
        height: 70px;
    }

    .logo-icon span {
        font-size: 20px;
    }

    .loader-wrapper {
        width: 180px;
        margin-top: 25px;
    }
}


/* 6. Animations */

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    40% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/* Glitch Keyframes */

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 0);
    }

    100% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(1px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, 0);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 0);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, 0);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 0);
    }
}


/* JS Helper Class */

.hide-preloader {
    opacity: 0 !important;
    visibility: hidden !important;
}

.preloader-progress {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

@keyframes taglineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    100% {
        transform: translateX(100%);
    }
}


/* Loading Status */

.loading-status {
    margin-top: 40px;
    text-align: center;
}

.status-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a6fff, #ff6b6b);
    animation: dot-pulse 1.4s infinite ease-in-out;
    box-shadow: 0 0 10px #4a6fff;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px #4a6fff;
    }
}


/* Gaming Effects */

.gaming-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}


/* Particles */

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 20px 30px, #4a6fff, transparent), radial-gradient(1px 1px at 40px 70px, #ff6b6b, transparent), radial-gradient(1px 1px at 60px 20px, #00b894, transparent), radial-gradient(2px 2px at 80px 50px, #ff00ff, transparent), radial-gradient(1px 1px at 100px 80px, #4a6fff, transparent), radial-gradient(2px 2px at 120px 30px, #ff6b6b, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particles-move 20s linear infinite;
    opacity: 0.3;
}


/* Scanline Effect */

.scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #4a6fff 50%, transparent 100%);
    box-shadow: 0 0 20px #4a6fff;
    animation: scanline 3s linear infinite;
    z-index: 1;
}


/* Grid Overlay */

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(74, 111, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 107, 107, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-flicker 5s infinite alternate;
}


/* Pixel Effect */

.pixel-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.1) 2px, rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
    mix-blend-mode: overlay;
}


/* Animations */

@keyframes particles-move {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-200px) translateX(200px);
    }
}

@keyframes scanline {
    0% {
        top: 0;
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0.5;
    }
}

@keyframes grid-flicker {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}


/* Hide preloader when complete */

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader.hide .preloader-text-container {
    transform: translateY(-50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
}


/* Mobile responsive for preloader */

@media (max-width: 768px) {
    .preloader {
        padding: 20px;
    }

    .preloader-text-container {
        margin-bottom: 20px;
    }

    .progress-bar {
        width: 90%;
        margin-bottom: 20px;
    }

    .glitch-text {
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }

    .subtitle {
        letter-spacing: 0.2em;
    }

    .loading-status {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .glitch-text {
        font-size: 1.8rem;
        letter-spacing: 0.05em;
    }

    .subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .progress-bar {
        width: 95%;
    }

    footer {
        padding: 2rem 1rem 1.5rem;
        background: #1a1a1a;
        width: 100%;
        overflow: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .social-link:hover {
        transform: none;
    }

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

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


/*=============== VARIABLES CSS - WHITE THEME ===============*/

:root {
    /* White theme colors */
    --primary-color: #4a6fff;
    --secondary-color: #ff6b6b;
    --accent-color: #00b894;
    --title-color: #1a202c;
    --text-color: #4a5568;
    --body-color: #f8fafc;
    --container-color: #ffffff;
    --card-bg: linear-gradient(145deg, #ffffff, #f1f5f9);
    --border-color: rgba(47, 46, 46, 0.8);
    --glow-color: #4a6fff;
    --shadow-light: 0 5px 20px rgba(74, 111, 255, 0.1);
    --shadow-medium: 0 10px 30px rgba(74, 111, 255, 0.15);
    --hover-shadow: 0 20px 40px rgba(74, 111, 255, 0.2);
    --body-font: "Poppins", sans-serif;
    --h2-font-size: 1.25rem;
    --small-font-size: .813rem;
    --scroll-speed: 40s;
    --border-radius: 12px;
}


/*========== Responsive typography ==========*/

@media screen and (min-width: 1120px) {
    :root {
        --h2-font-size: 1.5rem;
        --small-font-size: .875rem;
    }
}


/*=============== BASE ===============*/

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* Fix horizontal scroll */
    position: relative;
}

body {
    font-family: var(--body-font);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/*=============== CURSOR STYLES ===============*/

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(74, 111, 255, 0.2);
    border: 2px solid var(--primary-color);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    mix-blend-mode: normal;
    box-shadow: 0 0 8px rgba(74, 111, 255, 0.3);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 107, 0.15);
    border-color: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 180, 148, 0.3);
    border-color: var(--accent-color);
}

.cursor.hidden {
    opacity: 0;
    visibility: hidden;
}


/* Hide cursor on touch devices */

@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none;
    }
}


/*=============== HEADER & NAVIGATION (From about-style.css) ===============*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    /* Responsive font size */
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    /* Responsive font size */
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--title-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(74, 111, 255, 0.08);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(74, 111, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    left: 50%;
    bottom: -5px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    outline: none;
    margin-left: auto;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}


/* Hamburger animation when active */

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/*=============== MAIN HERO SECTION ===============*/

.main-hero {
    padding: clamp(100px, 15vw, 140px) 5% clamp(40px, 8vw, 80px);
    /* Responsive padding */
    background: #ffffff;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.main-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    /* Responsive font size */
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
    text-shadow: 0 0 20px rgba(74, 111, 255, 0.5);
    line-height: 1.2;
    padding: 0 10px;
}

.main-hero .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.main-hero p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    /* Responsive font size */
    color: #000000;
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 0 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    /* Responsive gap */
    margin-top: 3rem;
    flex-wrap: wrap;
    padding: 0 10px;
}

.hero-stat {
    text-align: center;
    min-width: 120px;
}

.hero-stat .number {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    /* Responsive font size */
    font-weight: 800;
    color: #044d85;
    font-family: 'Orbitron', sans-serif;
}

.hero-stat .label {
    color: #000000;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    /* Responsive font size */
    margin-top: 0.5rem;
}


/*=============== MAIN CONTAINER ===============*/

.container {
    padding: 2rem 0;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.scrolling-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 1rem;
    color: var(--title-color);
    font-family: 'Orbitron', sans-serif;
    padding: 0 15px;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    /* Responsive font size */
    opacity: 0.9;
    padding: 0 15px;
}


/*=============== SCROLLING TRACKS ===============*/

.scrolling-track {
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
    padding: 1rem 0;
    width: 100%;
}

.scrolling-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.track-1::before {
    left: 0;
    background: linear-gradient(90deg, var(--body-color) 20%, transparent);
}

.track-2::before {
    right: 0;
    background: linear-gradient(270deg, var(--body-color) 20%, transparent);
}

.scrolling-content {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
}

.track-1 .scrolling-content {
    animation: scrollRight var(--scroll-speed) linear infinite;
}

.track-2 .scrolling-content {
    animation: scrollLeft var(--scroll-speed) linear infinite;
}

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

    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(calc(-100% - 2rem));
    }

    100% {
        transform: translateX(0);
    }
}


/*=============== CARDS ===============*/

.card__article {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 320px;
    min-width: 320px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(74, 111, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card__article:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1rem !important;
    filter: brightness(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(74, 111, 255, 0.1) !important;
    box-sizing: border-box;
}

.card__article:hover .card__img {
    filter: brightness(1.05);
    transform: scale(1.05);
    border-color: var(--accent-color) !important;
    box-shadow: 0 10px 30px rgba(0, 180, 148, 0.2);
}

.love {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(74, 111, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #4a5568;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.love:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.love.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}


/* UPDATED CARD DATA COLORS */

.card__data {
    width: calc(100% - 2rem);
    background: rgba(15, 23, 42, 0.95);
    /* Darker background */
    padding: 1.5rem;
    border-radius: 1rem;
    position: absolute;
    bottom: -9rem;
    left: 1rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(74, 111, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #ffffff;
    /* White text color */
}

.card__article:hover .card__data {
    bottom: 1rem;
    opacity: 1;
}

.card__description {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.card__title {
    font-size: var(--h2-font-size);
    font-weight: 600;
    color: #ffffff;
    /* White title */
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: 'Orbitron', sans-serif;
}

.card__info {
    font-size: 0.9rem;
    color: #cbd5e1;
    /* Light gray for info text */
    margin-bottom: 1rem;
    line-height: 1.4;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}


/*=============== CHARACTER ELEMENTS ===============*/

.character {
    position: absolute;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    /* Responsive font size */
    z-index: 1;
    pointer-events: none;
    animation: float 6s infinite ease-in-out;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}


/*=============== FOOTER (From about-style.css) ===============*/

footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-address {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
}

.footer-email {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-email i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5% 0;
    box-sizing: border-box;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-note {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}


/*=============== RESPONSIVE DESIGN ===============*/


/* For tablets */

@media screen and (max-width: 768px) {
    .heading__title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card__article {
        min-width: 250px;
        height: 300px;
        background-color: white;
    }

    .card__img {
        height: 200px;
    }

    .scrolling-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Mobile navigation */
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-medium);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cursor {
        display: none;
    }

    /* Adjust header spacing */
    header {
        padding: 1rem 5%;
        justify-content: space-between;
    }

    .logo-container {
        flex: 1;
        min-width: 0;
    }

    .logo-img {
        height: 35px;
        filter: none;
    }

    .logo-title {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .main-hero h1 {
        font-size: 2.5rem;
    }

    .main-hero p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat .number {
        font-size: 2rem;
    }

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

    .social-links {
        align-items: left;
    }
}


/* For mobile phones */

@media screen and (max-width: 480px) {
    body {
        cursor: auto;
    }

    header {
        padding: 0.8rem 5%;
    }

    .logo-container {
        flex: 1;
    }

    .main-hero {
        padding: 120px 5% 60px;
    }

    .main-hero h1 {
        font-size: 2rem;
    }

    .main-hero p {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

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

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .card__article {
        min-width: 250px;
        height: 300px;
    }

    .card__img {
        height: 180px;
    }

    .card__data {
        padding: 1rem;
        left: 0.5rem;
        width: calc(100% - 1rem);
    }

    .scrolling-track {
        margin-bottom: 2rem;
    }

    :root {
        --scroll-speed: 30s;
    }

    .character {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        align-items: left;
    }
}


/* For very small devices */

@media screen and (max-width: 340px) {
    .card__article {
        min-width: 220px;
        height: 280px;
    }

    .card__img {
        height: 160px;
    }

    .card__title {
        font-size: 1rem;
    }

    .card__info {
        font-size: 0.8rem;
    }

    .main-hero h1 {
        font-size: 1.8rem;
    }

    .social-links {
        align-items: left;
    }
}


/* Pause animation when interacting */

@media (prefers-reduced-motion: reduce) {

    .scrolling-content,
    .gaming-icons span,
    .love,
    .character {
        animation: none !important;
    }
}


/* Add these to your existing styles.css file */


/* Theme-specific badge colors */

.card__badge[data-theme="workshop"] {
    background: linear-gradient(135deg, #4a6fff, #6c8eff);
}

.card__badge[data-theme="competition"] {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.card__badge[data-theme="game-jam"] {
    background: linear-gradient(135deg, #00b894, #00d4aa);
}

.card__badge[data-theme="hackathon"] {
    background: linear-gradient(135deg, #9b59b6, #af7ac5);
}

.card__badge[data-theme="seminar"] {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.card__badge[data-theme="bts"] {
    background: linear-gradient(135deg, #f1c40f, #f4d03f);
}


/* Update responsive design for logos */

@media screen and (max-width: 768px) {
    .logos-container {
        gap: 1rem;
    }

    .logo {
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .logos-container {
        gap: 0.8rem;
    }

    .logo {
        height: 35px;
    }
}


/*=============== EXTRA RESPONSIVE STYLES FOR GALLERY ===============*/


/* Tablet and Mobile Specific Styles */

@media screen and (max-width: 768px) {

    /* Disable scrolling animation on mobile - use horizontal scroll instead */
    .scrolling-track {
        overflow-x: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .scrolling-track::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .scrolling-content {
        animation: none !important;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .card__article {
        scroll-snap-align: start;
    }

    .track-1::before,
    .track-2::before {
        display: none;
    }

    /* Optimize scrolling performance */
    .scrolling-content {
        will-change: transform;
    }

    /* Prevent horizontal scrolling on body */
    body {
        overflow-x: hidden;
    }

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

    /* Adjust hero section for mobile */
    .main-hero {
        padding: 120px 5% 40px;
    }

    .character {
        display: none;
        /* Hide floating characters on mobile for performance */
    }
}


/* Touch device optimizations */

@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none !important;
    }

    .scrolling-track:hover .scrolling-content {
        animation-play-state: running;
    }

    .card__article {
        cursor: pointer;
    }

    .card__article:hover {
        transform: none;
    }

    .love {
        opacity: 1;
        pointer-events: auto;
    }

    /* Improve touch targets */
    .love {
        width: 44px;
        height: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Landscape orientation for mobile */

@media screen and (max-height: 500px) and (orientation: landscape) {
    .main-hero {
        padding: 100px 5% 30px;
        min-height: auto;
    }

    .hero-stats {
        margin-top: 1.5rem;
    }

    .scrolling-track {
        padding: 0.5rem 0;
    }

    .card__article {
        height: 240px;
        min-width: 200px;
    }

    .card__img {
        height: 150px;
    }

    .card__data {
        padding: 0.75rem;
        bottom: -6rem;
    }

    .preloader .glitch-text {
        font-size: 2rem;
    }

    .preloader .subtitle {
        font-size: 0.8rem;
    }
}


/* Small mobile phones (320px - 375px) */

@media screen and (max-width: 375px) {
    .card__article {
        min-width: 200px;
        height: 260px;
    }

    .card__img {
        height: 160px;
    }

    .card__data {
        padding: 0.75rem;
        bottom: -7rem;
    }

    .card__title {
        font-size: 0.9rem;
    }

    .card__info {
        font-size: 0.75rem;
    }

    .main-hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-stat .label {
        font-size: 0.7rem;
    }
}


/* Medium mobile phones (376px - 480px) */

@media screen and (min-width: 376px) and (max-width: 480px) {
    .card__article {
        min-width: 230px;
        height: 280px;
    }

    .card__img {
        height: 180px;
    }

    .main-hero h1 {
        font-size: 2.2rem;
    }
}


/* Fix for iOS input zoom */

@media screen and (max-width: 768px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}


/* Safe area insets for modern phones with notches */

@supports (padding: max(0px)) {

    .main-hero,
    .container,
    footer {
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }

    header {
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }
}


/* High DPI screens */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .card__img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

    .scrolling-content,
    .character,
    .preloader .glitch-text,
    .preloader .progress-fill::after,
    .preloader .scanline,
    .preloader .loading-dots span {
        animation: none !important;
    }

    .card__article:hover {
        transform: none;
    }

    .card__article:hover .card__img {
        transform: none;
    }
}


/* Print styles */

@media print {

    .preloader,
    .cursor,
    .character,
    .scrolling-track::before,
    .love {
        display: none !important;
    }

    .scrolling-content {
        animation: none !important;
        display: block !important;
    }

    .card__article {
        break-inside: avoid;
        margin-bottom: 20px;
    }

    .main-hero {
        background: white !important;
        color: black !important;
    }

    .main-hero h1 {
        color: black !important;
        text-shadow: none !important;
    }
}


/* Fix for right-side blank gap */

.container,
.scrolling-section,
.scrolling-track,
.scrolling-content {
    max-width: 100% !important;
    width: 100% !important;
}


/* Fix preloader display on mobile */

.preloader {
    display: flex !important;
}


/* Mobile-specific fixes */

@media screen and (max-width: 768px) {
    .main-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .character {
        font-size: 1.8rem;
    }

    /* Fix for very small screens */
    @media screen and (max-width: 320px) {
        .main-hero h1 {
            font-size: 1.5rem;
        }

        .hero-stat {
            min-width: 80px;
        }

        .hero-stat .number {
            font-size: 1.3rem;
        }

        .hero-stat .label {
            font-size: 0.6rem;
        }
    }
}


/* Ensure no horizontal overflow */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================
   FORCE EVENTS FOOTER – GALLERY
   Max-width: 992px
   ========================================= */

@media (min-width:768px) and (max-width: 992px) {
    footer {
        background: #0b0f14 !important;
        color: #cbd5e1 !important;
        padding: 4rem 6% 2rem !important;
    }

    footer .footer-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 4rem;
    }

    footer h3,
    footer h4 {
        color: #ffffff !important;
        font-family: 'Orbitron', sans-serif;
        margin-bottom: 1rem;
    }

    footer a {
        color: #cbd5e1 !important;
        font-size: 0.9rem;
    }

    footer a:hover {
        color: #4a6fff !important;
    }

    footer .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 3rem;
        padding-top: 1.5rem;
        text-align: center;
        font-size: 0.8rem;
        color: #94a3b8 !important;
    }
}

@media (max-width: 768px) {
    footer {
        background: #0b0f14;
        color: #cbd5e1;
        padding: 3rem 5% 2rem;
        width: 100%;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    footer h3,
    footer h4 {
        font-family: 'Orbitron', sans-serif;
        color: #ffffff;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .footer-links a,
    .footer-resources a,
    .footer-socials a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        font-size: 0.8rem;
        color: #94a3b8;
    }
}

@media (max-width: 480px) {

    .footer-links a,
    .social-link,
    .footer-email,
    .footer-address {
        justify-content: center;
    }

    .footer-logo p {
        margin: 0 auto;
        max-width: 300px;
    }

    footer {
        padding: 2rem 1rem 1.5rem;
        background: #0b0f14;
        width: 100%;
        overflow: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
}


/* FORCE FOOTER SOCIAL LINKS LEFT-ALIGNED (≤768px) */

@media (max-width: 768px) {

    .social-links,
    .footer-email,
    .footer-socials {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .social-link,
    .footer-email,
    .footer-socials a {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}


/*Cards Problem for ios*/


/* ===============================
   MOBILE CARD FIX (IMPORTANT)
   =============================== */

@media (max-width: 768px) {

    /* Stop horizontal scrolling */
    .scrolling-track {
        overflow: visible;
    }

    .scrolling-content {
        animation: none !important;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }

    /* Card full width */
    .card__article {
        width: 100%;
        min-width: 100%;
        height: auto;
        border-radius: 1rem;
    }

    /* Image fix */
    .card__img {
        height: 200px;
        border-radius: 1rem 1rem 0 0 !important;
    }

    /* Always show card data */
    .card__data {
        position: static;
        opacity: 1;
        width: 100%;
        margin-top: 0;
        border-radius: 0 0 1rem 1rem;
    }

    /* Disable hover effects */
    .card__article:hover,
    .card__article:hover .card__img {
        transform: none;
    }
}


/* ===============================
   TABLET CARD FIX (481px - 768px)
   Cards in 2-column grid, compact size
   =============================== */

@media (min-width: 481px) and (max-width: 768px) {
    .scrolling-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .card__article {
        width: 100%;
        min-width: unset !important;
        height: auto !important;
        border-radius: 0.8rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .card__img {
        height: 150px;
        border-radius: 0.8rem 0.8rem 0 0 !important;
    }

    .card__data {
        position: static !important;
        opacity: 1 !important;
        width: 100% !important;
        left: 0 !important;
        margin-top: 0;
        padding: 0.75rem;
        border-radius: 0 0 0.8rem 0.8rem;
        border: none;
        flex: 1;
        box-sizing: border-box;
    }

    .card__title {
        font-size: 0.85rem;
        white-space: normal;
        overflow: visible;
    }

    .card__description {
        font-size: 0.7rem;
    }

    .card__info {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        white-space: normal;
        overflow: visible;
    }

    .card__badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .love {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
}


/* ===============================
   MOBILE CARD FIX (max-width: 480px)
   2-column grid, compact but fully visible
   =============================== */

@media (max-width: 480px) {
    .scrolling-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        flex-direction: unset !important;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .card__article {
        width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        border-radius: 0.75rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .card__img {
        height: 120px !important;
        border-radius: 0.75rem 0.75rem 0 0 !important;
        object-fit: cover;
    }

    .card__data {
        position: static !important;
        opacity: 1 !important;
        width: 100% !important;
        left: 0 !important;
        margin-top: 0;
        padding: 0.6rem;
        border-radius: 0 0 0.75rem 0.75rem;
        border: none;
        flex: 1;
        box-sizing: border-box;
    }

    .card__title {
        font-size: 0.75rem;
        white-space: normal;
        overflow: visible;
        line-height: 1.3;
    }

    .card__description {
        font-size: 0.65rem;
    }

    .card__info {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        white-space: normal;
        overflow: visible;
        line-height: 1.4;
    }

    .card__badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .love {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}


/* ===============================
   SMALL MOBILE (max-width: 360px)
   Single column, proper card size
   =============================== */

@media (max-width: 360px) {
    .scrolling-content {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .card__article {
        width: 100% !important;
        min-width: unset !important;
        height: auto !important;
        border-radius: 0.8rem;
        display: flex;
        flex-direction: column;
    }

    .card__img {
        height: 180px !important;
        border-radius: 0.8rem 0.8rem 0 0 !important;
    }

    .card__data {
        padding: 0.8rem !important;
        flex: 1;
    }

    .card__title {
        font-size: 0.9rem;
    }

    .card__description {
        font-size: 0.75rem;
    }

    .card__info {
        font-size: 0.8rem;
    }

    .card__badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .love {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}