/* Modern Eden Garden Pool Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --eden-green: #4CAF50;
    --eden-green-light: #66BB6A;
    --eden-green-dark: #2E7D32;
    --eden-accent: #00E676;
    --dark-bg: #0a0f1a;
    --dark-surface: #1a2332;
    --dark-surface-light: #2a3441;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #0a0f1a 0%, #1a2332 50%, #2a3441 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-green: linear-gradient(135deg, var(--eden-green) 0%, var(--eden-green-dark) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-primary);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(76, 175, 80, 0.06) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: var(--gradient-card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(20px);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-green);
    opacity: 0.05;
    z-index: -1;
}

.header-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(76, 175, 80, 0.3));
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    position: relative;
    max-width: 800px;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 2px;
}

header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    padding: 0 1rem;
}

/* Modern Cards */
.card {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: rgba(76, 175, 80, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-green);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* Forms */
.form {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Modern Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    min-width: 160px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: var(--dark-surface-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-success {
    background: var(--gradient-green);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--eden-green-light) 0%, var(--eden-green) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Result Panels */
.result-panel {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.result-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.result-success::before {
    background: var(--gradient-green);
    transform: scaleX(1);
}

.result-error::before {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    transform: scaleX(1);
}

.result-info::before {
    background: linear-gradient(135deg, var(--eden-green-light), var(--eden-green));
    transform: scaleX(1);
}

.result-success {
    color: var(--text-primary);
    border-color: rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, var(--gradient-card) 100%);
}

.result-error {
    color: var(--text-primary);
    border-color: rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, var(--gradient-card) 100%);
}

.result-info {
    color: var(--text-primary);
    border-color: rgba(102, 187, 106, 0.3);
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.05) 0%, var(--gradient-card) 100%);
}

/* Modern Wallet Status */
.wallet-status {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.wallet-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-green);
}

.wallet-message {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.address-display {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    position: relative;
}

.address-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-green);
    border-radius: 0 2px 2px 0;
}

.address-display label {
    display: block;
    font-weight: 600;
    color: var(--eden-green);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 1rem;
}

.address-text {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    background: var(--dark-surface);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    word-break: break-all;
    color: var(--text-primary);
    margin-left: 1rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 180px;
    flex: 1;
    max-width: 250px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Result panels */
.result-panel {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.result-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.result-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Address details */
.address-details {
    margin-top: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.payment-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.payment-label {
    font-size: 0.8em;
    color: #666;
}

.payment-value {
    font-weight: bold;
    color: #667eea;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-overlay p {
    color: white;
    font-size: 1.2em;
}

/* Modern Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--gradient-card);
    border-radius: 24px 24px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-green);
    border-radius: 1px;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

footer a {
    color: var(--eden-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

footer a:hover {
    color: var(--eden-green-light);
}

footer a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    header h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }
    
    .card h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        min-width: 100%;
        max-width: none;
    }
    
    .wallet-status {
        padding: 1.5rem;
    }
    
    .address-display {
        padding: 1.25rem;
    }
    
    .address-text {
        font-size: 0.8rem;
        padding: 0.875rem;
    }
    
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    footer {
        margin-top: 3rem;
        padding: 2rem 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    .header-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .card {
        padding: 1.5rem 1rem;
    }
    
    .wallet-menu {
        left: 0;
        right: 0;
        min-width: auto;
    }
    
    body::before {
        animation: none; /* Disable animations on very small screens for performance */
    }
}

/* Wallet Connector Styles */
.wallet-connector {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: inline-block;
    z-index: 999;
}

.wallet-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.wallet-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.wallet-button:hover::before {
    left: 100%;
}

.wallet-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.wallet-button-connected {
    background: var(--gradient-green);
    border-color: var(--eden-green-dark);
    color: white;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.wallet-button-connecting {
    background: linear-gradient(135deg, var(--eden-green-light) 0%, var(--eden-green) 100%);
    border-color: var(--eden-green);
    color: white;
}

.wallet-connecting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-connected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
}

.wallet-menu {
    position: fixed;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.wallet-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.wallet-menu-item:last-child {
    border-bottom: none;
}

.wallet-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.wallet-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

.wallet-menu-item:hover::before {
    transform: scaleY(1);
}

.wallet-menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
}

.wallet-list-link {
    color: #4F46E5;
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.wallet-list-link:hover {
    text-decoration: underline;
}

/* Modern Toast Notifications */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--gradient-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    max-width: 360px;
    backdrop-filter: blur(20px);
    animation: slideInToast 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.toast-success {
    border-left: 4px solid var(--eden-green);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, var(--gradient-card) 100%);
}

.toast-error {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, var(--gradient-card) 100%);
}

.toast-warning {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, var(--gradient-card) 100%);
}

.toast-info {
    border-left: 4px solid var(--eden-green-light);
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.1) 0%, var(--gradient-card) 100%);
}

@keyframes slideInToast {
    from {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Small spinner for connecting state */
.spinner-small {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Header modifications for wallet connector */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

header h1 {
    margin: 0;
}

header p {
    margin: 0;
    flex: 1;
}

/* Mobile styles for wallet connector */
@media (max-width: 768px) {
    .wallet-connector {
        position: static;
        margin-top: 2rem;
        align-self: center;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }
    
    .wallet-menu {
        position: fixed;
        right: auto;
        left: auto;
        max-width: calc(100vw - 2rem);
    }
}

/* Info Banner */
.info-banner {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, var(--gradient-card) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-green);
    border-radius: 0 0 2px 2px;
}

.btn-info-banner {
    background: var(--gradient-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 260px;
}

.btn-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s;
}

.btn-info-banner:hover::before {
    left: 100%;
}

.btn-info-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(76, 175, 80, 0.4);
    background: var(--dark-surface-light);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(20px);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: var(--gradient-green);
    border-radius: 1px;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-green);
    border-radius: 0 2px 2px 0;
}

.info-section h3 {
    margin: 0 0 1rem 1rem;
    color: var(--eden-green);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section p {
    margin: 0 0 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-section ul {
    margin: 0 0 0 2rem;
    padding: 0;
    color: var(--text-secondary);
}

.info-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.info-section li:last-child {
    margin-bottom: 0;
}

.info-section li strong {
    color: var(--text-primary);
}

.info-section.highlight {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(76, 175, 80, 0.3);
}

.info-section.highlight::before {
    background: var(--gradient-green);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.info-section a {
    color: var(--eden-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.info-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

.info-section a:hover {
    color: var(--eden-green-light);
}

.info-section a:hover::after {
    width: 100%;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    min-width: 140px;
}

/* Mobile styles for info banner */
@media (max-width: 768px) {
    .info-banner {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
    }
    
    .btn-info-banner {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile modal styles */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .info-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .info-section h3 {
        font-size: 1.125rem;
    }
    
    .info-section ul {
        margin-left: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .close-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.75rem;
    }
} 