/* Basic Reset & Global Styles */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

:root {
    --primary-color: #E0B8A0; /* Brighter Rose Gold */
    --primary-gradient: linear-gradient(135deg, #E0B8A0, #C09A82);
    --secondary-color: #b0a497;
    --background-color: #000000;
    --text-color: #e8e8e8;
    --text-secondary: #9a9a9f;
    --card-background: rgba(10, 10, 10, 0.5);
    --border-color: rgba(224, 184, 160, 0.25); /* Adjusted alpha */
    --glass-background: rgba(0, 0, 0, 0.6);
    --glass-border: linear-gradient(to right, rgba(224, 184, 160, 0.15), rgba(224, 184, 160, 0.35), rgba(224, 184, 160, 0.15));
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    --glow-effect: 0 0 20px rgba(224, 184, 160, 0.2), 0 0 40px rgba(224, 184, 160, 0.1); /* Enhanced glow */
}


body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

.floating-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notice-content {
    display: flex;
    align-items: center;
}

.notice-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.platform-grid, .payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card, .payment-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover, .payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.platform-icon, .payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Promotions Page */
.brand-promo-section + .brand-promo-section {
    margin-top: 4rem;
}

.brand-promo-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

.promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.promo-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promo-card-content {
    padding: 1.5rem;
}

.promo-card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.promo-card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Hero Banner */
.hero-banner {
    padding: 8rem 0;
    background: url('https://placehold.co/1920x600/000000/E0B8A0?text=GAMES') no-repeat center center/cover;
    text-align: center;
    position: relative;
    color: #fff;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Game Modules */
.game-modules-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.game-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-module:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--glow-effect);
    border-color: rgba(224, 184, 160, 0.5);
}

/* Alternating layout */
.game-module:nth-child(even) .game-module-image {
    order: 2;
}

.game-module-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.game-module-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.game-module-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.game-module-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .game-module {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .game-module:nth-child(even) .game-module-image {
        order: 0; /* Reset order for stacked layout */
    }

    .game-module-content {
        align-items: center;
    }
}

}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(217, 180, 156, 0.05) 0%, transparent 70%);
    animation: subtle-glow 25s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
    pointer-events: none;
    z-index: 1;
}

@keyframes subtle-glow {
    from {
        transform: rotate(0deg) translateX(10px) translateY(10px);
    }
    to {
        transform: rotate(360deg) translateX(-10px) translateY(-10px);
    }
}

.container {
    position: relative;
    z-index: 2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    background: var(--glass-background);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-bottom: 1.5px solid transparent;
    border-image: var(--glass-border) 1;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

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

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    letter-spacing: 0.02em;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -10px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

.header-cta {
    font-weight: 700;
    font-size: 0.9rem;
    color: #000;
    background: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-cta:hover {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Hero Section */

.dark-section {
    background-color: #1a1a1a;
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

#sponsorship .sponsorship-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

#sponsorship .sponsorship-logos img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

#app-download .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

#app-download .app-preview {
    flex: 1;
}

#app-download .app-preview img {
    max-width: 100%;
    border-radius: 20px;
}

#app-download .app-info {
    flex: 1.5;
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

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

#brand-intro .intro-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

#brand-intro .intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), var(--glow-effect);
}

#brand-intro .intro-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

#brand-intro .intro-card ul {
    padding-left: 20px;
    margin-top: 1rem;
}

#brand-intro .intro-card li {
    margin-bottom: 0.5rem;
    flex: 1.5;
}

#app-download .download-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px; /* Set a max-width for the buttons container */
}

/* Skeleton Loader for News */
@keyframes pulse-bg {
    0% { background-color: rgba(255, 255, 255, 0.05); }
    50% { background-color: rgba(255, 255, 255, 0.1); }
    100% { background-color: rgba(255, 255, 255, 0.05); }
}

.skeleton-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-img {
    width: 100%;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: pulse-bg 2s infinite;
}

.skeleton-content {
    width: 100%;
}

.skeleton-line {
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: pulse-bg 2s infinite;
    margin-bottom: 0.75rem;
}

.skeleton-line.title {
    width: 60%;
    height: 1.5rem;
}

.skeleton-line.text {
    width: 90%;
}

.skeleton-line.text:last-child {
    width: 75%;
}
}

#app-download .download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--card-background);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

#app-download .download-button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

#app-download .download-icon {
    font-size: 2rem;
}

#app-download .download-text {
    flex-grow: 1;
    text-align: left;
}

#brand-intro .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#brand-intro .intro-content {
    max-width: 800px;
    text-align: left;
}

#brand-intro h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#brand-intro ul {

/* App Download Section for Qiusu Sports */
#app-download .container {
    align-items: center;
}

.app-preview {
    flex-basis: 40%;
    text-align: center;
}

.app-preview img {
    max-width: 100%;
    height: auto;
}

.app-info {
    flex-basis: 55%;
    padding-left: 5%;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.download-button {
    background-color: #333;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-color);
}

.download-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.download-text {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}


.main-nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1.5px solid transparent;
    border-image: var(--glass-border) 1;
}

.menu-toggle.active .hamburger {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none; /* Initially hidden */
    }

    .main-nav ul .header-cta {
        display: block;
        text-align: center;
        margin-top: 1rem;
        background: var(--primary-color);
        color: #000;
    }

    .main-nav ul .header-cta:hover {
        background: #fff;
        color: var(--primary-color);
    }

    .site-header .container {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    #app-download .container {
        flex-direction: column;
    }

    #sponsorship .sponsorship-logos {
        flex-direction: column;
        align-items: center;
    }

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

    #brand-intro .intro-grid {
        grid-template-columns: 1fr;
    }

    #app-download .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
    list-style-position: inside;
    padding-left: 0;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: transparent;
    background: var(--primary-gradient);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 5s linear infinite;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4), 0 3px 8px rgba(224, 184, 160, 0.5); /* Adjusted shadow to match new primary color */
    transform: translateZ(0);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-button {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: var(--primary-gradient);
    padding: 0.9rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.2);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.5);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05) translateZ(20px);
    box-shadow: 0 12px 25px rgba(224, 184, 160, 0.4), inset 0 1px 1px rgba(255,255,255,0.2);
    background: linear-gradient(45deg, #C09A82, #E0B8A0); /* Inverted gradient on hover */
}

.cta-button:active {
    transform: translateY(1px) scale(1) translateZ(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.6), inset 0 2px 3px rgba(0,0,0,0.4);
}

/* Sections */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

/* Brand Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px; /* Add perspective for 3D effect */
}

.brand-card {
    background: var(--card-background);
    padding: 3rem;
    border-radius: 8px; /* Sharper corners */
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    position: relative;
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    will-change: transform, box-shadow, border-color;
    perspective: 2500px;
}

.brand-card:hover {
    transform: scale(1.1) translateZ(60px) rotateX(10deg);
    background: rgba(28, 28, 28, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--glass-shadow),
                0 24px 64px rgba(0, 0, 0, 0.6),
                0 0 100px -20px var(--primary-color);
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.05) 50%,
        transparent
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
                 linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                top 0.2s cubic-bezier(0.165, 0.84, 0.44, 1),
                left 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.brand-logo.alt {
    color: var(--secondary-color);
}

.brand-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.brand-card p {
    margin-bottom: 1.5rem;
}

.brand-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.brand-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.brand-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.brand-card[data-brand="qiusu"] ul li i {
    color: var(--secondary-color);
}

.brand-card[data-brand="qiusu"] ul li i {
    color: var(--secondary-color);
}


/* Features Section Vertical Pill Layout */
.features-grid-vertical {
    display: flex;
    justify-content: center;
    gap: 2.5rem; /* Increased gap */
    margin-top: 4rem;
    flex-wrap: wrap;
}

.feature-card-vertical {
    background: #1a1a1a;
    border: 1px solid rgba(224, 184, 160, 0.2);
    border-radius: 80px; /* Pill shape */
    padding: 2.5rem 2rem;
    text-align: center;
    width: 280px; /* Adjust width */
    height: 380px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes icon to bottom */
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-vertical:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(224, 184, 160, 0.2);
}

.feature-content {
    /* No margin-bottom to allow space-between to work */
}

.feature-content h3 {
    font-size: 1.5rem; /* Slightly smaller title */
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-content p strong {
    color: var(--primary-color);
    font-weight: 500;
}

.feature-icon-circle {
    width: 120px; /* Increased icon circle size */
    height: 120px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(224, 184, 160, 0.5);
    transition: all 0.3s ease;
    margin-top: 2rem; /* Add space above icon */
}

.feature-icon-circle i {
    font-size: 4rem; /* Increased icon size */
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.feature-card-vertical:hover .feature-icon-circle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.feature-card-vertical:hover .feature-icon-circle i {
    color: #000;
    transform: scale(1.1);
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(10, 10, 10, 0.4);
    padding: 40px;
    border-radius: 6px; /* Sharper corners */
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    transform-style: preserve-3d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.1);
}

.feature-card:hover {
    transform: translateY(-10px) translateZ(30px);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--card-background);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow-effect);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.03) 50%,
        transparent
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
                 linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s ease;
    text-shadow: 0 0 10px rgba(224, 184, 160, 0.4);
}

.feature-card:hover .icon {
    color: var(--primary-color);
    transform: scale(1.1) translateZ(25px);
    text-shadow: 0 0 25px rgba(224, 184, 160, 0.8);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* News Grid Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background-color: #2c2c2c;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.news-card h3 {
    color: #e0ac5c;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.news-card .news-date {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.news-card p {
    color: #ccc;
    line-height: 1.6;
}

.news-card .read-more {
    color: #e0ac5c;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.news-card .read-more:hover {
    text-decoration: underline;
}

/* News Page Specific Styles */
.news-item {
    background-color: #252525;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 5px solid #e0ac5c;
}

.news-item h2 {
    margin-top: 0;
}

.news-item .news-date {
    color: #aaa;
    margin-bottom: 1rem;
}


/* News Detail Page Specific Styles */
.news-detail-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.news-detail-header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.news-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.news-detail-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 1.5em;
}

.news-detail-content h2, 
.news-detail-content h3 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    color: #1a1a1a;
}

.news-detail-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid #007bff;
    transition: color 0.3s, border-color 0.3s;
}

.news-detail-content a:hover {
    color: #0056b3;
    border-color: #0056b3;
}

/* Skeleton Loader Styles */
@keyframes pulse-bg {
    0% { background-color: #eee; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #eee; }
}

.skeleton-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.skeleton-card .skeleton-img {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    animation: pulse-bg 1.5s infinite ease-in-out;
}

.skeleton-card .skeleton-content {
    padding: 15px;
}

.skeleton-card .skeleton-line {
    height: 1em;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: pulse-bg 1.5s infinite ease-in-out;
}

.skeleton-card .skeleton-line.title {
    width: 70%;
    height: 1.5em;
    margin-bottom: 15px;
}

.skeleton-card .skeleton-line.text {
    width: 100%;
}

.skeleton-card .skeleton-line.text:last-child {
    width: 85%;
}


/* Footer */
.site-footer {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 15px;
    line-height: 1.6;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Content Sections (New) */
.content-section .container {
    display: flex;
    align-items: center;
    gap: 8rem;
    padding: 8rem 0;
    position: relative;
}

.content-section .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.02) 25%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

.content-section .container.reverse {
    flex-direction: row-reverse;
}

.content-text-box, .content-image-box {
    flex: 1;
}

.content-text-box h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.content-text-box h3 .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(224, 184, 160, 0.6);
}

.content-text-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: left center;
}

.content-text-box:hover h3 {
    color: var(--primary-color);
    transform: translateX(10px);
}

.content-text-box:hover h3::after {
    width: 60px;
    background: var(--primary-color);
}

.content-image-box .image-placeholder {
    width: 100%;
    padding-bottom: 65%;
    background-size: cover;
    background-position: center;
    border-radius: 8px; /* Sharper corners */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.content-image-box .image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05) 50%,
        transparent
    );
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content-image-box:hover .image-placeholder {
    transform: scale(1.04) translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.content-image-box:hover .image-placeholder::before {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
}

/* Advantages Section */
.advantage-showcase {
    background: linear-gradient(145deg, #1c1c1c, #111);
    border: 1px solid rgba(224, 184, 160, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(224, 184, 160, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.advantage-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.advantage-item:hover .icon {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.advantage-item .content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.advantage-item .content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Dark Section & Social Responsibility */
.dark-section {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.large-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 2rem auto 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.large-text:hover {
    color: var(--text-color);
}

.cta-button.inverted {
    background: var(--text-color);
    color: var(--background-color);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .content-section .container,
    .content-section .container.reverse {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

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

/* Tech Section - Enhanced */
#tech {
    position: relative;
    overflow: hidden;
    background-color: #050505; /* Slightly different dark background */
}

#tech .container {
    position: relative;
    z-index: 2;
}

#tech::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(224, 184, 160, 0.06) 0%, transparent 45%);
    animation: rotate-glow 25s infinite linear;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes rotate-glow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: rgba(12, 12, 12, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(224, 184, 160, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(28, 28, 28, 0.7);
    border-color: rgba(224, 184, 160, 0.35);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 184, 160, 0.2);
}

.tech-item .icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.tech-item:hover .icon {
    color: var(--primary-color);
    transform: scale(1.1);
    text-shadow: 0 0 25px var(--primary-color);
}

.tech-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tech-item:hover h3 {
    color: var(--primary-color);
}

.tech-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Product Grid Section */
/* Product Tabs Section */
.product-tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.product-tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem;
}

.tab-link {
    background-color: transparent;
    border: none;
    color: #ccc;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    margin: 0 0.25rem;
}

.tab-link.active, .tab-link:hover {
    background-color: var(--primary-color);
    color: #111;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.product-tabs-content {
    position: relative;
    background: linear-gradient(145deg, #1c1c1c, #111);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    padding: 3rem 4rem;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.tab-content:nth-of-type(even) .tab-content-inner {
    flex-direction: row-reverse;
}

.tab-media {
    flex: 1 1 45%;
    border-radius: 10px;
    overflow: hidden;
}

.tab-media img {
    width: 100%;
    height: auto;
    display: block;
}

.tab-description {
    flex: 1 1 55%;
    text-align: left;
}

.tab-description h3 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tab-description p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}