/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #64ffda;
    font-size: 1.5rem;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #ffd700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
    background: rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    margin: -8px -16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(0, 188, 212, 0.05));
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.calculator-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-intro h2 {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.calculator-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.calculator-description .disclaimer {
    display: block;
    font-size: 0.9rem;
    color: #ffd700;
    font-style: italic;
    margin-top: 0.5rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.calc-token {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.calc-token:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
}

.calc-token-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.calc-token-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.calc-token-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #64ffda;
}

.calc-token-rate {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.calculator-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: #ffd700;
    font-size: 0.9rem;
}

.calculator-note .external-link {
    color: #64ffda;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.calculator-note .external-link:hover {
    color: #4dd0cd;
    text-decoration: underline;
}

/* Calculator Modal */
.calculator-modal {
    max-width: 500px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(10, 10, 20, 0.95));
    border: 2px solid #64ffda;
    backdrop-filter: blur(20px);
}

.calculator-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.calc-modal-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    filter: drop-shadow(0 4px 12px rgba(100, 255, 218, 0.3));
}

.calc-modal-info h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin: 0;
}

.calc-modal-rate {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-input-group label {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

#tokenAmount {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 10px;
    padding: 1rem 4rem 1rem 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

#tokenAmount:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.input-suffix {
    position: absolute;
    right: 1rem;
    color: #64ffda;
    font-weight: 700;
    font-size: 1rem;
    pointer-events: none;
}

.calc-result {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-result-row.secondary {
    font-size: 0.9rem;
    opacity: 0.8;
}

.calc-result-label {
    color: #e0e0e0;
    font-weight: 500;
}

.calc-result-value {
    color: #64ffda;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(100, 255, 218, 0.3);
}

.calc-result-rate {
    color: #ffd700;
    font-weight: 600;
}

.calc-disclaimer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #ffd700;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #64ffda, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64ffda;
    font-weight: 500;
}

.stat i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Unified Button Styles */
.cta-button,
.external-btn,
.btn-primary,
.app-link,
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
    white-space: nowrap;
    text-align: center;
}

.cta-button:hover,
.external-btn:hover,
.btn-primary:hover,
.app-link:hover,
.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
    background: linear-gradient(135deg, #4dd0cd, #0097a7);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-coins {
    position: relative;
    width: 800px; /* Bigger container for bigger circle */
    height: 800px; /* Bigger container for bigger circle */
    animation: rotateContainer 60s linear infinite reverse; /* COUNTER-CLOCKWISE! */
}

.coin {
    position: absolute;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
    cursor: pointer;
    user-select: none;
    will-change: transform;
}

.coin:hover {
    filter: drop-shadow(0 6px 15px rgba(100, 255, 218, 0.6));
    z-index: 100;
}

/* XRP - The star of the show - styling defined below with animation */

/* Major coins - medium size */
/* All circle coins - Reasonable size, uniform, counter-rotate to stay upright */
.coin-btc, .coin-eth, .coin-ada, .coin-sol {
    width: 90px; /* More reasonable size */
    height: 90px; /* More reasonable size */
    animation: counterSpin 60s linear infinite; /* CLOCKWISE to counter container's counter-clockwise */
}

.coin-bnb {
    width: 90px; /* More reasonable and uniform */
    height: 90px; /* More reasonable and uniform */
    animation: counterSpin 60s linear infinite; /* CLOCKWISE to counter container's counter-clockwise */
}

.coin-avax, .coin-bat {
    width: 90px; /* More reasonable and uniform */
    height: 90px; /* More reasonable and uniform */
    animation: counterSpin 60s linear infinite; /* CLOCKWISE to counter container's counter-clockwise */
}

.coin-xlm, .coin-doge, .coin-xmr, .coin-zec {
    width: 90px; /* More reasonable and uniform! */
    height: 90px; /* More reasonable and uniform! */
    animation: counterSpin 60s linear infinite; /* CLOCKWISE to counter container's counter-clockwise */
}

/* Spinning animations for the coin circle */
@keyframes rotateContainer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

/* Fallback animation in case JavaScript fails */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.9;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg); 
        opacity: 0.95;
    }
    75% { 
        transform: translateY(-10px) rotate(270deg); 
        opacity: 1;
    }
}

/* Special styling for XRP to make it stand out - big but not massive */
.coin-xrp {
    width: 160px; /* Smaller but still prominent */
    height: 160px; /* Smaller but still prominent */
    filter: drop-shadow(0 10px 30px rgba(100, 255, 218, 0.6));
    animation: spin 20s linear infinite;
}

/* Coins are now controlled by JavaScript for interactivity */
.coin-xrp:hover {
    filter: drop-shadow(0 8px 20px rgba(100, 255, 218, 0.8)) drop-shadow(0 0 30px rgba(100, 255, 218, 0.4));
}

/* Add particle trail effect on interaction */
.coin::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.coin:hover::after {
    opacity: 1;
    transform: scale(3);
}

/* Add special effects for XRP */
.coin-xrp::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

/* Introduction Section */
.intro {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.intro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

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

.intro-card {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: transform 0.3s ease;
}

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

.intro-card i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.intro-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Guide Section */
.guide {
    padding: 80px 0;
}

.guide h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.guide-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #64ffda;
}

.step-description p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.step-description ul,
.step-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #b0b0b0;
}

.step-description li {
    margin-bottom: 0.5rem;
}

.security-warning,
.success-tip {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-tip {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.security-warning i,
.success-tip i {
    color: #ffc107;
    font-size: 1.2rem;
}

.success-tip i {
    color: #4caf50;
}

.app-links {
    margin: 1rem 0;
}

/* Secondary buttons now match primary style */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
    color: #000;
}

/* Icon spacing for external buttons */
.external-btn i:last-child,
.btn-secondary i:last-child {
    margin-left: 0.3rem;
    opacity: 0.7;
}

/* Substeps */
.substeps {
    margin: 2rem 0;
}

.substep {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #ffd700;
}

.substep-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.substep-number {
    background: #ffd700;
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.substep h4 {
    color: #ffd700;
    font-size: 1.2rem;
}

.step-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.step-image[src*=".webp"] {
    /* Ensure WebP images load properly */
    image-rendering: auto;
}

/* General Info Section */
.general-info {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.general-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

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

.general-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.general-card i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.general-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.crypto-examples {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.crypto-examples h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #64ffda;
}

.crypto-list {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.crypto-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.crypto-item h4 {
    color: #64ffda;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.crypto-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Donation Section */
.donation {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(255, 215, 0, 0.1));
}

.donation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.donation-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Simple glow effect */
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.4),
                 0 0 30px rgba(100, 255, 218, 0.2);
    /* Rotation effects */
    transition: all 0.8s ease;
    transform-origin: center;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Stylish donation message rotation animations */
.donation-intro.changing {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    filter: blur(2px);
}

.donation-intro.entering {
    animation: messageSlideIn 0.8s ease forwards;
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
        filter: blur(4px);
        text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(100, 255, 218, 0.8),
                     0 0 80px rgba(100, 255, 218, 0.4);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.3),
                     0 0 40px rgba(100, 255, 218, 0.1);
    }
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.donation-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.donation-item:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.donation-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.donation-item:hover img {
    transform: scale(1.1);
}

.donation-item span {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.donation-footer {
    text-align: center;
    color: #b0b0b0;
    font-style: italic;
    margin-top: 2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #64ffda;
}

#modalTitle {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

#modalQR {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.address-container {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    align-items: center;
}

#modalAddress {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(100, 255, 218, 0.3);
    color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Copy button inherits unified styling, with success state */
.copy-btn.copied {
    background: linear-gradient(135deg, #4caf50, #8bc34a) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4) !important;
}

.modal-footer {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
}

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

.footer-section h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #64ffda;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-buttons .btn-secondary {
    justify-content: flex-start;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 50px;
    /* Override secondary styling to match primary buttons */
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.footer-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: #b0b0b0;
}

/* Enhanced Mobile Responsive Design */

/* Tablet optimizations */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .floating-coins {
        width: 550px;
        height: 550px;
    }
    
    .coin {
        animation-duration: 8s;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        z-index: 1000;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        font-size: 1.2rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(100, 255, 218, 0.2);
        transform: translateX(5px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 100%;
    }

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

    .floating-coins {
        width: 450px;
        height: 450px;
        margin: 0 auto;
    }

    /* Mobile-optimized coin sizes */
    .coin-xrp {
        width: 90px;
        height: 90px;
    }

    .coin-btc, .coin-eth, .coin-ada, .coin-sol {
        width: 55px;
        height: 55px;
    }
    
    .coin-bnb {
        width: 50px;
        height: 50px;
    }

    .coin-avax, .coin-bat, .coin-xlm, .coin-doge, .coin-xmr, .coin-zec {
        width: 45px;
        height: 45px;
    }

    /* Enhanced button touch targets */
    .cta-button,
    .external-btn,
    .btn-primary,
    .app-link,
    .copy-btn,
    .btn-secondary {
        min-height: 48px;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    /* Steps section mobile optimization */
    .step {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        align-self: flex-start;
    }

    .substep {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .substep-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .substep-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* Image optimization for mobile */
    .step-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1rem 0;
    }

    /* General info section mobile */
    .general-info {
        padding: 60px 20px;
    }

    .general-info h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .general-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .general-card {
        padding: 1.5rem;
    }

    .crypto-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .crypto-item img {
        width: 40px;
        height: 40px;
    }

    .address-container {
        flex-direction: column;
        gap: 1rem;
    }

    /* Calculator section mobile */
    .calculator-section {
        padding: 60px 20px;
    }

    .calculator-intro h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .calculator-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .calc-token {
        padding: 1rem;
        flex-direction: row;
        align-items: center;
        min-height: 48px;
    }

    .calc-token-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .calc-token-name {
        font-size: 1.1rem;
    }

    .calc-token-rate {
        font-size: 0.8rem;
    }

    .calculator-note {
        flex-direction: column;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.8rem;
    }

    /* Calculator modal mobile */
    .calculator-modal {
        width: 95%;
        max-width: 400px;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .calculator-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .calc-modal-logo {
        width: 48px;
        height: 48px;
    }

    .calc-modal-info h3 {
        font-size: 1.3rem;
    }

    #tokenAmount {
        font-size: 1rem;
        padding: 0.8rem 3rem 0.8rem 0.8rem;
    }

    .calc-result-value {
        font-size: 1.2rem;
    }

    .calc-result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .calc-result-row.secondary {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(100, 255, 218, 0.2);
    }

    /* Enhanced donation section */
    .donation-section {
        padding: 60px 20px;
    }

    .donation-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .donation-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
        padding: 0;
    }

    .donation-item {
        padding: 1.5rem 1rem;
        min-height: 48px;
        cursor: pointer;
    }

    .donation-item img {
        width: 45px;
        height: 45px;
    }

    .donation-item span {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Mobile modal improvements */
    .modal-content {
        width: 90%;
        margin: 10% auto;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    #qrContainer {
        margin: 1rem 0;
    }

    #modalAddress {
        font-size: 0.8rem;
        padding: 0.8rem;
        word-break: break-all;
        line-height: 1.4;
    }

    /* Footer mobile optimization */
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer-buttons {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-grid,
    .general-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }

    #modalAddress {
        font-size: 0.8rem;
        word-break: break-all;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.nav-menu a:focus,
.cta-button:focus,
.app-link:focus,
.copy-btn:focus,
.donation-item:focus {
    outline: 2px solid #64ffda;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .intro-card,
    .general-card,
    .donation-item {
        border-width: 2px;
    }
    
    .step-description {
        border-left-width: 6px;
    }
}

/* Mobile Performance Optimizations */
.floating-coins {
    will-change: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.coin {
    will-change: transform, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Enhanced touch targets and better mobile UX */
.donation-item,
.cta-button,
.external-btn,
.btn-primary,
.app-link,
.copy-btn,
.btn-secondary,
.nav-menu a,
.coin {
    -webkit-tap-highlight-color: rgba(100, 255, 218, 0.3);
    user-select: none;
    touch-action: manipulation;
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    .step-image {
        image-rendering: optimizeSpeed;
        image-rendering: -moz-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}
