:root {
    --primary: #4facfe;
    --secondary: #00f2fe;
    --accent: #ff6b6b;
    --dark: #333333;
    --light: #ffffff;
    --glass: rgba(255, 255, 255, 0.6);
    --glass-hover: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);
    --bg-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --text-main: #333333;
    --text-muted: #555555;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.portal-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700 !important;
    white-space: nowrap;
}

.portal-nav-link::before {
    content: '←';
    font-weight: bold;
    transition: transform 0.3s;
    display: inline-block;
    /* Ensure transform works */
}

.portal-nav-link:hover::before {
    transform: translateX(-3px);
}

.footer-brand-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-brand-link:hover {
    color: var(--primary);
}

.play-btn-small {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 700 !important;
    transition: transform 0.3s !important;
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
}

.play-btn-small:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--glass-hover);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 450px;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.play-btn-large {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.play-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.4);
    filter: brightness(1.1);
}

.learn-more {
    color: var(--text-main);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.5);
}

.learn-more:hover {
    background: var(--primary);
    color: white;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 1;
}

.hero-piggy {
    position: absolute;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-piggy.main {
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-piggy.float-1 {
    width: 150px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-piggy.float-2 {
    width: 120px;
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(0, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Features */
.features {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
    color: var(--text-main);
}

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

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 800;
}

.feature-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Showcase (Marquee) */
.showcase {
    padding: 8rem 0;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 20s linear infinite;
}

.piggy-card {
    width: 200px;
    height: 250px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    margin: 0 1rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.piggy-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.piggy-card p {
    font-weight: 700;
    color: var(--text-muted);
}

.piggy-card.mystery img {
    filter: brightness(0) opacity(0.3);
}

.piggy-card.mystery p {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Footer */
footer {
    padding: 4rem 10%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

/* Animations */
@keyframes float {

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

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

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

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

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .glass-nav {
        padding: 1rem 3%;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo span {
        display: block;
        /* Show logo text again as we have space */
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 1rem;
        /* Restore font size */
    }

    .play-btn-small {
        padding: 0.5rem 1.2rem;
        font-size: 0.95rem !important;
    }

    .lang-switcher {
        margin-left: 1rem;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    /* Stack Hero Section for Tablets */
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        /* Space for nav */
        text-align: center;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 80%;
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 4rem;
        /* Larger title */
    }

    .hero p {
        font-size: 1.4rem;
        /* Larger subtitle */
        max-width: 600px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        width: 500px;
        /* Restore size */
        height: 500px;
        margin: 0 auto;
    }

    .hero-piggy.main {
        width: 300px;
        /* Restore size */
    }

    .hero-bg-glow {
        top: 40%;
        right: 50%;
        transform: translate(50%, -50%);
        width: 500px;
        height: 500px;
    }
}

/* Specific optimization for iPad Air Portrait (820px) and similar */
@media (max-width: 900px) {
    .glass-nav {
        padding: 0.8rem 2%;
    }

    .logo span {
        display: none;
        /* Hide logo text to prevent overflow */
    }

    .nav-links {
        gap: 0.8rem;
        /* Reduce gap */
    }

    .nav-links a {
        font-size: 0.9rem;
        /* Slightly smaller font */
    }

    .play-btn-small {
        padding: 0.4rem 1rem;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo span {
        display: none;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .play-btn-small {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem !important;
    }

    .lang-switcher {
        margin-left: 0.5rem;
        gap: 0.2rem;
    }

    .lang-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }

    /* Hero adjustments for tablet portrait */
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .hero-piggy.main {
        width: 250px;
    }

    .hero-bg-glow {
        top: 30%;
        right: 50%;
        transform: translate(50%, -50%);
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 0.5rem;
        flex-wrap: nowrap;
        /* Prevent wrapping */
    }

    .logo {
        margin-right: auto;
        /* Push logo to left */
        gap: 0.3rem;
    }

    .logo span {
        display: block;
        font-size: 1rem;
        white-space: nowrap;
    }

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

    .nav-links {
        gap: 0.3rem;
    }

    .portal-nav-link,
    .nav-links>a:not(.play-btn-small) {
        display: none;
        /* Hide text links on very small screens */
    }

    .play-btn-small {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .lang-switcher {
        margin-left: 0.2rem;
    }


    .hero {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
    }

    .hero-bg-glow {
        top: 20%;
        right: 50%;
        transform: translate(50%, -50%);
    }
}

/* Cookie Banner & Settings */
.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link-btn:hover {
    color: var(--primary);
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    z-index: 2000;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* PWA Section */
.pwa-section {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.pwa-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pwa-content {
    flex: 1;
}

.pwa-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.pwa-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.pwa-steps {
    display: flex;
    gap: 1.5rem;
}

.step-card {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.step-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

.pwa-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-icon-preview {
    width: 250px;
    height: 250px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 900px) {
    .pwa-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .pwa-content .section-title {
        text-align: center;
    }

    .pwa-content p {
        margin: 0 auto 3rem;
    }

    .pwa-steps {
        flex-direction: column;
    }
}

.cookie-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.cookie-btn.reject {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-btn.reject:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Mobile Optimization (Small Screens) */
@media (max-width: 480px) {
    .glass-nav {
        padding: 0.8rem;
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

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

    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

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

    .portal-nav-link {
        display: none;
        /* Hide portal link on very small screens to save space */
    }

    .play-btn-small {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 11rem 5% 4rem 5%;
        /* Increased top padding for stacked nav */
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .play-btn-large,
    .learn-more {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        display: block;
    }

    .hero-visual {
        height: 250px;
        margin-top: 2rem;
    }

    .hero-piggy.main {
        width: 200px;
    }

    .features {
        padding: 4rem 5%;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 0;
        width: auto;
        justify-content: center;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Gameplay Carousel */
.gameplay-section {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
    background: #000;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible */
    background: #000;
}

.placeholder-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        aspect-ratio: 4/3;
    }

    .carousel-btn {
        padding: 0.5rem;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Science Section */
.science-section {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

/* Routine Section */
.routine-section {
    padding: 8rem 10%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

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

.routine-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.routine-card:hover {
    transform: translateY(-5px);
    background: var(--glass-hover);
}

.routine-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.routine-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 800;
}

.routine-card p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}