/* ===== CSS Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

:root {
    /* Color Palette */
    --bg-primary: #E8E3F5;
    --bg-secondary: #F5F3FA;
    --card-bg: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --accent-pink: #04c22d;
    --accent-purple: #093600;
    --accent-blue: #07951a;
    --button-primary: #1E293B;
    --button-hover: #334155;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-family);
    background: white;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}


/* Main Image */
.main-img {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 550px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-img img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

/* Coin hovering above */
.coin-left {
    position: absolute;
    right: 0%;
    top: 8%;
    transform: translateY(0);
    width: 190px;
    height: auto;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

/* ===== Main Container ===== */
.main-container {
    width: 94%;
    max-width: 1440px;
    min-height: calc(100vh - 3rem);
    margin: 1.5rem auto;
}

/* ===== Header ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    border-radius: var(--radius-sm);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Navigation ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xs);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--bg-primary);
}

.login-btn {
    background: var(--button-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ===== Main Content ===== */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* ===== Hero Section ===== */
.hero-section {
    padding-right: var(--spacing-lg);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-weight: 800;
    color: rgb(5, 102, 5);
}

/* ===== Transfer Form ===== */
.transfer-form {
    margin-bottom: var(--spacing-xl);

}

.amount-input-wrapper {
    margin-bottom: var(--spacing-md);
}

.amount-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.amount-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    gap: 2px;
    max-width: 350px;
}

.amount-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    font-family: var(--font-family);
    padding-right: 60px;
    /* Prevent text overlap with button */
}

.amount-input::placeholder {
    color: var(--text-secondary);
}

/* Currency Dropdown */
.currency-dropdown {
    position: relative;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-pink);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-left: -50px;

}

.currency-btn:hover {
    background: #DB2777;
    transform: translateY(-2px);
}

.currency-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.ngn-flag {
    background: linear-gradient(to right, #008751 33.33%, white 33.33%, white 66.66%, #008751 66.66%);
}

.usd-flag {
    background: linear-gradient(to bottom, #B22234 0%, #B22234 7.69%, white 7.69%, white 15.38%, #B22234 15.38%, #B22234 23.07%, white 23.07%, white 30.76%, #B22234 30.76%, #B22234 38.46%, white 38.46%, white 46.15%, #B22234 46.15%, #B22234 53.84%, white 53.84%, white 61.53%, #B22234 61.53%, #B22234 69.22%, white 69.22%, white 76.91%, #B22234 76.91%, #B22234 84.6%, white 84.6%, white 92.3%, #B22234 92.3%);
}

.gbp-flag {
    background: linear-gradient(135deg, #012169 25%, transparent 25%, transparent 75%, #012169 75%),
        linear-gradient(45deg, #012169 25%, transparent 25%, transparent 75%, #012169 75%),
        linear-gradient(to right, white 40%, #C8102E 40%, #C8102E 60%, white 60%),
        linear-gradient(to bottom, white 40%, #C8102E 40%, #C8102E 60%, white 60%),
        #012169;
    background-size: 50% 50%, 50% 50%, 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 100% 100%, 0 0, 0 0, 0 0;
}

.currency-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: auto;
    left: auto;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xs);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.currency-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.currency-option:hover {
    background: var(--bg-primary);
}

.send-btn {
    background: var(--button-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.send-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    display: flex;
    gap: var(--spacing-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shield-icon {
    background: var(--accent-purple);
}

.wallet-icon {
    background: var(--accent-blue);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 0.5rem;
}

/* ===== Illustration Section ===== */
.illustration-section {
    position: relative;
    height: 600px;
}

.illustration-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Decorative Elements */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(168, 139, 250, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    top: 10%;
    right: -10%;
}

.deco-circle-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-pink);
    opacity: 0.3;
    bottom: 20%;
    left: -5%;
}

.deco-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 1;
}

.deco-dot-1 {
    background: var(--accent-pink);
    top: 15%;
    left: 20%;
}

/* Illustration Card */
.illustration-card {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.card-header {
    margin-bottom: var(--spacing-sm);
}

.card-icon {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: var(--radius-sm);
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 4px;
    opacity: 0.5;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-icons {
    display: flex;
    gap: var(--spacing-xs);
}

.user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-purple);
    opacity: 0.6;
}

.bitcoin-icon {
    font-size: 2.5rem;
    color: var(--accent-purple);
    opacity: 0.3;
}

/* Character */
.character {
    position: absolute;
    top: 20%;
    right: 10%;
    z-index: 3;
}

.character-head {
    width: 80px;
    height: 80px;
    background: #F5E6D3;
    border-radius: 50%;
    position: relative;
    margin-bottom: -10px;
}

.character-body {
    width: 120px;
    height: 200px;
    background: white;
    border-radius: 60px 60px 0 0;
    position: relative;
}

.character-arm {
    position: absolute;
    width: 60px;
    height: 120px;
    background: white;
    border-radius: 30px;
    top: 100px;
    right: -20px;
    transform: rotate(-30deg);
}

.character-phone {
    position: absolute;
    width: 40px;
    height: 70px;
    background: #FFD700;
    border-radius: var(--radius-sm);
    top: 140px;
    right: 10px;
    z-index: 4;
}

/* Bottom Decoration */
.bottom-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--spacing-lg);
    z-index: 2;
}

.plant-pot {
    position: relative;
    width: 100px;
    height: 120px;
}

.pot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: var(--accent-purple);
    border-radius: 0 0 8px 8px;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 50px;
    background: var(--accent-pink);
    border-radius: 50% 0;
}

.leaf-1 {
    bottom: 30px;
    left: 10px;
    transform: rotate(-20deg);
}

.leaf-2 {
    bottom: 35px;
    left: 25px;
    transform: rotate(10deg);
}

.leaf-3 {
    bottom: 40px;
    right: 25px;
    transform: rotate(-10deg);
}

.leaf-4 {
    bottom: 35px;
    right: 10px;
    transform: rotate(20deg);
}

.coins-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -5px;
}

.coin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.coin-1 {
    background: #FFD700;
    color: white;
    z-index: 3;
}

.coin-2 {
    background: #FFC107;
    margin-top: -10px;
    z-index: 2;
}

.coin-3 {
    background: #FFB300;
    margin-top: -10px;
    z-index: 1;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.chart-bar {
    width: 12px;
    background: var(--accent-purple);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
}

/* ===== Responsive Design ===== */

/* Tablet */
/* Tablet */
@media (max-width: 1024px) {
    .main-container {
        padding: var(--spacing-md);
        width: 100%;
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
    }

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

    .main-content {
        gap: var(--spacing-lg);
    }

    .illustration-section {
        height: 400px;
    }

    .main-img {
        max-width: 500px;
    }

    .coin-left {
        width: 120px;
        height: 120px;
        right: 8%;
        top: 8%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .header {
        flex-wrap: wrap;
        margin-bottom: var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-xl);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: var(--spacing-lg);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

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


    .login-btn {
        order: 2;
        width: 100%;
        margin-top: var(--spacing-sm);
    }

    .mobile-menu-toggle {
        display: flex;
        order: 1;
        z-index: 99999;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-section {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .transfer-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 3.2rem;
        margin-bottom: var(--spacing-md);
        text-align: left;
    }

    .amount-input-group {
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-xs);
        /* Reduce padding for more space */
    }

    .amount-input {
        font-size: 1.25rem;
    }

    .send-btn {
        width: 100%;
    }

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

    .illustration-section {
        height: auto;
        order: -1;
        /* Image appears first on mobile */
        width: 100%;
        margin-bottom: var(--spacing-xl);
    }

    .main-img {
        position: relative;
        right: auto;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 370px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .main-img img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .coin-left {
        position: absolute;
        right: 5%;
        top: -10px;
        left: auto;
        transform: none;
        width: 150px;
        height: auto;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .coin-left img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .currency-menu {
        max-width: calc(100vw - 2rem);
        right: -10px;
        /* Slight offset to align with edge */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }

    .amount-input {
        font-size: 1.1rem;
        /* Smaller font on very small screens */
    }

    .features {
        gap: var(--spacing-sm);
    }

    .feature-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .illustration-section {
        height: auto;
    }
}

/* ===== Inactive/Disabled Styles ===== */
.disabled-link {
    cursor: default !important;
    pointer-events: none;
    opacity: 0.55;
    filter: grayscale(1);
    user-select: none;
}

.nav-link.disabled-link {
    opacity: 0.6;
}

.dropdown-item.disabled-link {
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    background: #fcfcfd;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: var(--spacing-xl);
}

.footer-grid {
    width: 94%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    filter: grayscale(1) opacity(0.7);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 200px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    width: 94%;
    max-width: 1440px;
    margin: var(--spacing-xl) auto 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.staging-tag {
    display: inline-block;
    background: #fffbe6;
    color: #856404;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 10px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .footer-grid {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        width: 100%;
    }

    .footer-col:first-child {
        grid-column: span 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-col:first-child {
        text-align: left;
        align-items: flex-start;
    }
}


/* ===== Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.spraying-animation {
    margin-bottom: var(--spacing-lg);
}

.floating-coin-large,
.floating-logo-large {
    width: 120px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

#modalAmount {
    color: var(--accent-purple);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.confirm-btn {
    background: var(--button-primary);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Modal Adjustments */
@media (max-width: 480px) {
    .modal-content {
        padding: var(--spacing-lg) var(--spacing-md);
        margin: var(--spacing-sm);
    }

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {

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

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

.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.transfer-form {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.features {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.coin-left {
    animation: fadeInUp 0.8s ease-out 0.3s backwards, float 6s ease-in-out infinite 1s;
}