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

:root {
    --primary-purple: #281B7A;
    --primary-yellow: #F59E0B;
    --dark-grey: #111827;
    --text-color: #111827;
    --bg-light: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Page wrapper for edge glow effect */
.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(98, 0, 234, 0.1);
    position: relative;
    overflow: hidden;
}

/* Base button styles */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-login {
    background-color: var(--primary-purple);
    color: white;
    font-size: 14px;
}

.btn-contact {
    background-color: #4A4A4A;
    color: var(--primary-yellow);
    font-size: 16px;
    position: relative;
    margin-top: 60px; /* space for avatar */
}

.avatar-contact {
    position: absolute;
    width: 100px;
    height: 100px;
    top: -85px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: 10;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #281B7A, #3A2BC4);
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    color: white;
    letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px 40px;
    min-height: 80vh;
    position: relative;
    box-sizing: border-box;
}

/* Background blob effect */
.hero-slide::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 500px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(40, 27, 122, 0.1));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
}

.hero-text {
    flex: 1;
    max-width: 500px;
    z-index: 1;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 .purple-text {
    color: var(--primary-purple);
    display: block;
}

.hero-text h1 .black-text {
    color: var(--dark-grey);
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.hero-image {
    max-width: 100%;
    width: 600px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Carousel Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--dark-grey);
    cursor: pointer;
}

.dot.active {
    background-color: var(--dark-grey);
}

/* Section Common */
.section {
    padding: 60px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.yellow-triangle {
    width: 0;
    height: 0;
    border-top: 25px solid var(--primary-yellow);
    border-right: 25px solid transparent;
}

.section-title {
    font-size: 32px;
    color: var(--dark-grey);
    font-weight: 700;
}

/* Process Rows Section */
.process-rows {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.process-row.reverse {
    flex-direction: row-reverse;
}

.process-content {
    flex: 1;
}

.process-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark-grey);
}

.process-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.process-icon {
    flex: 1;
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, #6D5AE6 0%, #281B7A 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 50px rgba(40, 27, 122, 0.5);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.icon-circle::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    z-index: 1;
}

.icon-circle img {
    height: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: brightness(1.4) contrast(1.1) drop-shadow(0 0 10px rgba(255,255,255,0.2));
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-circle:hover img {
    transform: scale(1.15) rotate(3deg);
}

.process-divider {
    height: 2px;
    width: 60%;
    margin: 40px auto;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

/* Concept Art Evolution */
.concept-evolution {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.concept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.concept-card img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.concept-card img:hover {
    transform: scale(1.05);
}

.concept-card h3 {
    font-size: 20px;
    font-weight: 600;
}

/* Animations Section */
.animations-container {
    background: linear-gradient(135deg, #281B7A, #3A2BC4);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.animations-text {
    flex: 1;
    z-index: 2;
}

.animations-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.animations-text h2 span {
    color: var(--primary-yellow);
}

.animations-text p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    opacity: 0.9;
}

.animations-visuals {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    z-index: 2;
}

.anim-char {
    width: 250px;
    object-fit: contain;
    animation: float 5s ease-in-out infinite alternate;
}

/* Development Grid */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dev-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
    border: 2px solid #eae8f0;
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(40, 27, 122, 0.15);
    border-color: var(--primary-purple);
}

.card-header {
    background: var(--primary-purple);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    width: 100%;
}

.card-body {
    padding: 25px;
}

.card-body p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.dev-card ul {
    list-style: none;
}

.dev-card ul li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-card ul li::before {
    content: "✓";
    color: var(--primary-yellow);
    font-weight: bold;
}

/* About Us Stats */
.about-stats-container {
    background: linear-gradient(135deg, #3A2BC4, #281B7A);
    border-radius: 40px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 60px rgba(40, 27, 122, 0.4);
    margin-top: 20px;
}

.about-stats-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: repeating-linear-gradient(to right, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 60px);
    opacity: 0.6;
}

.about-avatar {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.about-avatar img {
    height: 380px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite alternate;
}

.about-stats-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    z-index: 2;
    padding-left: 20px;
}

.about-stat-item {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-stat-item span {
    color: var(--primary-yellow);
    font-weight: 800;
    font-size: 20px;
}

/* Graphical Landscape Footer */
.landscape-footer {
    position: relative;
    height: 500px;
    background-image: url('assets/landscape_footer_1774896346780.png');
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.landscape-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 150px;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
}

.footer-badge {
    background: var(--primary-purple);
    padding: 18px 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(40, 27, 122, 0.5);
    z-index: 2;
    position: relative;
    top: 50px;
}

.envelope-icon {
    font-size: 26px;
}

.footer-badge a {
    color: white;
    text-decoration: none;
}

.footer-links {
    position: absolute;
    bottom: 30px;
    right: 50px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--primary-yellow);
}
.footer {
    background: #111;
    color: white;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 5px solid var(--primary-purple);
}

.footer-col h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-col p, .footer-col a {
    color: #aaa;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.footer-col a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .hero, .concept-evolution, .animations-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-container, .animations-visuals {
        justify-content: center;
        margin-top: 40px;
    }
    .avatar-contact {
        left: 50%;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: #fff;
    padding: 30px 40px 40px;
    border-radius: 12px;
    width: 450px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    color: #111;
}

.form-group input, .form-group select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #111;
    padding: 8px 0;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    outline: none;
    color: #555;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="black" viewBox="0 0 16 16"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px;
    cursor: pointer;
}

.form-group input::placeholder {
    color: #aaa;
}

.validation-msg {
    font-size: 11px;
    color: #555;
    margin-top: -5px;
    margin-bottom: 30px;
}

.btn-login-submit {
    background-color: var(--primary-yellow);
    color: #111;
    font-size: 18px;
    font-weight: 800;
    padding: 12px 30px;
    align-self: center;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
/* ============================================================
   FULL RESPONSIVE OVERRIDES — added for mobile / tablet support
   ============================================================ */

/* Make every image safely fluid by default */
img {
    max-width: 100%;
    height: auto;
}

/* Tablets / small laptops */
@media (max-width: 1100px) {
    .navbar { padding: 18px 32px; }
    .hero-slide { padding: 60px 32px 30px; }
    .section { padding: 50px 32px; }
    .hero-text h1 { font-size: 52px; }
    .hero-image { width: 480px; }
    .about-stats-container { padding: 50px 40px; }
    .about-avatar img { height: 300px; }
}

/* Tablets */
@media (max-width: 900px) {
    /* Navbar */
    .navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .logo { font-size: 20px; }
    .btn { padding: 10px 18px; font-size: 13px; }

    /* Hero */
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 20px;
        min-height: auto;
        gap: 30px;
    }
    .hero-slide::before {
        width: 90%;
        height: 60%;
        right: 5%;
        left: 5%;
    }
    .hero-text { max-width: 100%; }
    .hero-text h1 { font-size: 40px; }
    .hero-text p { font-size: 15px; }
    .hero-image-container { justify-content: center; width: 100%; }
    .hero-image { width: 100%; max-width: 420px; }
    .avatar-contact { width: 80px; height: 80px; top: -65px; }
    .btn-contact { margin-top: 50px; }

    /* Section */
    .section { padding: 40px 20px; }
    .section-title { font-size: 24px; }
    .yellow-triangle { border-top-width: 18px; border-right-width: 18px; }

    /* Process */
    .process-rows { gap: 40px; }
    .process-row,
    .process-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .process-content h3,
    .process-content p { text-align: center !important; }
    .icon-circle { width: 160px; height: 160px; }
    .icon-circle img { height: 140px; }
    .icon-circle::after { width: 110px; height: 110px; }

    /* Concept */
    .concept-evolution { flex-direction: column; gap: 30px; }

    /* Animations container (legacy) */
    .animations-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        border-radius: 20px;
    }
    .animations-text h2 { font-size: 32px; }
    .animations-visuals { justify-content: center; flex-wrap: wrap; gap: 16px; }
    .anim-char { width: 180px; }

    /* Dev grid */
    .dev-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    /* About stats */
    .about-stats-container {
        flex-direction: column;
        padding: 40px 24px;
        border-radius: 24px;
        gap: 30px;
        text-align: center;
    }
    .about-avatar img { height: 240px; }
    .about-stats-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 16px;
        text-align: left;
    }
    .about-stat-item { font-size: 14px; justify-content: flex-start; }

    /* Footer */
    .landscape-footer {
        height: auto;
        min-height: 360px;
        padding: 60px 20px 80px;
        margin-top: 60px;
    }
    .footer-badge {
        font-size: 15px;
        padding: 14px 24px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        word-break: break-word;
        max-width: calc(100% - 32px);
    }
    .footer-badge a { font-size: 14px; word-break: break-all; }
    .footer-links {
        position: static !important;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: 30px;
    }
    .footer {
        flex-direction: column;
        gap: 30px;
        padding: 40px 24px;
    }
}

/* Phones */
@media (max-width: 600px) {
    .navbar {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .logo { font-size: 18px; text-align: center; }
    #navActionGroup {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-text h1 { font-size: 32px; }
    .hero-text p { font-size: 14px; }
    .hero-slide { padding: 30px 16px 16px; }
    .hero-image { max-width: 320px; }

    .section { padding: 32px 16px; }
    .section-title { font-size: 20px; }

    .icon-circle { width: 130px; height: 130px; }
    .icon-circle img { height: 110px; }
    .icon-circle::after { width: 90px; height: 90px; }

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

    .animations-text h2 { font-size: 26px; }

    .carousel-dots { margin-bottom: 30px; }

    /* Modal */
    .modal-content {
        padding: 24px 20px 28px;
        width: 100%;
        max-width: calc(100% - 24px);
        border-radius: 14px;
    }
    .modal-title { font-size: 20px; margin-bottom: 22px; }
    .btn-login-submit { width: 100%; font-size: 16px; }
}

/* Very small phones */
@media (max-width: 380px) {
    .hero-text h1 { font-size: 28px; }
    .btn { padding: 9px 14px; font-size: 12px; }
    .footer-badge { font-size: 13px; padding: 12px 18px; }
    .footer-badge a { font-size: 12px; }
}

/* ===== v3 Subtle Polish (minimal, additive) ===== */
html { scroll-behavior: smooth; }

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Slightly richer button hover with brand tint */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(40, 27, 122, 0.18);
}
.btn:active { transform: translateY(0); }

/* Refined login button — soft gradient + subtle glow */
.btn-login {
    background-image: linear-gradient(135deg, #281B7A 0%, #3A2BC4 100%);
    box-shadow: 0 2px 10px rgba(40, 27, 122, 0.25);
}
.btn-login:hover {
    box-shadow: 0 8px 24px rgba(58, 43, 196, 0.35);
}

/* Contact button — warmer accent on hover */
.btn-contact:hover {
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28);
}

/* Navbar — subtle bottom hairline + soft depth */
.navbar {
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 6px 24px rgba(40, 27, 122, 0.15);
}

/* Logo — gentle text glow on the accent span */
.logo span {
    text-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

/* Accessibility — visible focus ring for keyboard users */
:focus-visible {
    outline: 2px solid #F59E0B;
    outline-offset: 3px;
    border-radius: 6px;
}

/* Images — smoother loading appearance */
img { image-rendering: -webkit-optimize-contrast; }

/* Selection color matches brand */
::selection { background: rgba(245, 158, 11, 0.35); color: #111827; }

/* =====================================================
   v4 Design Upgrade — richer, still additive (no layout breaks)
   ===================================================== */

:root {
    --brand-1: #281B7A;
    --brand-2: #3A2BC4;
    --accent-1: #F59E0B;
    --accent-2: #FCD34D;
}

/* Subtle animated background sheen on body */
body {
    background-attachment: fixed;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(40,27,122,0.06); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-2), var(--brand-1));
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-1), var(--brand-2));
    background-clip: padding-box;
}

/* Navbar — frosted glass feel when scrolled feel (always-on subtle blur) */
.navbar {
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
}

/* Buttons — unified premium feel */
.btn, .btn-login, .btn-contact, .btn-login-submit {
    transition: transform .25s cubic-bezier(.2,.7,.2,1),
                box-shadow .25s ease,
                background-position .6s ease,
                filter .25s ease;
    background-size: 200% 100%;
    background-position: 0% 50%;
}
.btn:hover, .btn-login:hover, .btn-contact:hover, .btn-login-submit:hover {
    background-position: 100% 50%;
    filter: saturate(115%);
}

/* Login — richer gradient travel */
.btn-login {
    background-image: linear-gradient(135deg, #281B7A 0%, #3A2BC4 50%, #281B7A 100%);
}

/* Contact — warm accent gradient */
.btn-contact {
    background-image: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #F59E0B 100%);
    color: #1f2937;
}

/* Hero — soft glow halo behind the character */
.hero-image {
    filter: drop-shadow(0 30px 60px rgba(40, 27, 122, 0.35));
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-image:hover { transform: translateY(-6px) scale(1.02); }

/* Hero text — refined heading gradient on emphasized spans */
.hero-text h1 {
    letter-spacing: -0.5px;
}
.hero-text h1 span,
.hero-text h1 b,
.hero-text h1 em {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Section titles — accent underline */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--brand-2));
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
}

/* Game tiles / cards — premium hover lift + sheen */
.game-card, .more-card, .tile, .card, .game-tile {
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                box-shadow .35s ease,
                border-color .35s ease;
    will-change: transform;
}
.game-card:hover, .more-card:hover, .tile:hover, .card:hover, .game-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(40, 27, 122, 0.28),
                0 4px 12px rgba(0,0,0,0.08);
}
.game-card::before, .more-card::before, .tile::before, .card::before, .game-tile::before {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left .8s ease;
    pointer-events: none;
    z-index: 2;
}
.game-card:hover::before, .more-card:hover::before, .tile:hover::before,
.card:hover::before, .game-tile:hover::before {
    left: 130%;
}

/* Image inside cards — gentle zoom */
.game-card img, .more-card img, .tile img, .card img, .game-tile img {
    transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.game-card:hover img, .more-card:hover img, .tile:hover img,
.card:hover img, .game-tile:hover img {
    transform: scale(1.05);
    filter: saturate(115%);
}

/* Icon circles — glow ring on hover */
.icon-circle {
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.icon-circle:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12),
                0 12px 30px rgba(40, 27, 122, 0.25);
}

/* Carousel dots — refined */
.carousel-dots .dot,
.carousel-dots span,
.dot {
    transition: transform .25s ease, background .25s ease, width .25s ease;
}
.carousel-dots .dot.active,
.dot.active {
    background: linear-gradient(90deg, var(--accent-1), var(--brand-2)) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Dev / team cards — subtle border glow */
.dev-card {
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                box-shadow .35s ease,
                border-color .35s ease;
    border: 1px solid rgba(40, 27, 122, 0.08);
}
.dev-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 18px 36px rgba(40, 27, 122, 0.18);
}

/* Animations section — soft accent backdrop */
.animations-text h2 {
    background: linear-gradient(90deg, #fff, #FCD34D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer — gradient top border + softer depth */
.footer {
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--brand-2), transparent);
    opacity: .7;
}
.footer-badge {
    transition: transform .25s ease, box-shadow .25s ease;
}
.footer-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(40, 27, 122, 0.25);
}

/* Links — subtle underline animation */
a {
    transition: color .2s ease;
}
.footer a, .footer-links a {
    position: relative;
}
.footer a::after, .footer-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-1), var(--brand-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.footer a:hover::after, .footer-links a:hover::after {
    transform: scaleX(1);
}

/* Modal — softer backdrop + lift-in feel */
.modal, .modal-overlay {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-content {
    box-shadow: 0 30px 80px rgba(40, 27, 122, 0.35),
                0 0 0 1px rgba(255,255,255,0.06) inset;
    animation: modalRise .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalRise {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Inputs — refined focus state */
input, textarea, select {
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--brand-2) !important;
    box-shadow: 0 0 0 4px rgba(58, 43, 196, 0.15);
    outline: none;
}

/* Reduced motion — respect users */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
