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

:root {
    --xrp-black: #23292F;
    --xrp-blue: #3A75FF;
    --xrp-light-blue: #5B9BFF;
    --xrp-dark: #1A1F25;
    --gold: #FFD700;
    --mythic: #FF00FF;
    --legendary: #FF6B6B;
    --rare: #4B9BFF;
    --uncommon: #4BB543;
    --common: #B0B0B0;
    --white: #FFFFFF;
    --gray-light: #E5E7EB;
    --gray: #9CA3AF;
    --pool-blue: #00CED1;
    --summer-yellow: #FFE45E;
    --tropical-pink: #FF69B4;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: linear-gradient(180deg, #001428 0%, #00CED1 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 228, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 206, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 20, 40, 0.2) 0%, rgba(0, 206, 209, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--summer-yellow) 0%, var(--tropical-pink) 50%, var(--pool-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 228, 94, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--summer-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 228, 94, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--summer-yellow) 0%, var(--tropical-pink) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 228, 94, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 228, 94, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--summer-yellow);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 228, 94, 0.2) 0%, rgba(0, 206, 209, 0.2) 100%);
    color: var(--white);
    border-color: var(--pool-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 31, 37, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--xrp-blue);
}

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

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

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

.nav-mint {
    background: var(--xrp-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-mint:hover {
    background: var(--xrp-light-blue);
    color: var(--white) !important;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Collection Stats */
.collection-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 228, 94, 0.1) 0%, rgba(0, 206, 209, 0.1) 100%);
    border: 2px solid rgba(255, 228, 94, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 206, 209, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--summer-yellow) 0%, var(--pool-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-light);
}

/* Rarity Tiers */
.rarity-tiers h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tier-card.mythic {
    border-color: var(--mythic);
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(255, 0, 255, 0.05) 100%);
}

.tier-card.legendary {
    border-color: var(--legendary);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.tier-card.rare {
    border-color: var(--rare);
    background: linear-gradient(135deg, rgba(75, 155, 255, 0.1) 0%, rgba(75, 155, 255, 0.05) 100%);
}

.tier-card.uncommon {
    border-color: var(--uncommon);
    background: linear-gradient(135deg, rgba(75, 181, 67, 0.1) 0%, rgba(75, 181, 67, 0.05) 100%);
}

.tier-card.common {
    border-color: var(--common);
}

.tier-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tier-count {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tier-card.mythic .tier-count {
    color: var(--mythic);
}

.tier-card.legendary .tier-count {
    color: var(--legendary);
}

.tier-card.rare .tier-count {
    color: var(--rare);
}

.tier-card.uncommon .tier-count {
    color: var(--uncommon);
}

.tier-card.common .tier-count {
    color: var(--common);
}

/* David Section */
.david-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 228, 94, 0.05) 0%, rgba(255, 105, 180, 0.05) 50%, rgba(0, 206, 209, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.david-section::before {
    content: '🌊';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: -50px;
    left: -50px;
    transform: rotate(-15deg);
}

.david-container {
    text-align: center;
}

.david-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.david-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 228, 94, 0.3);
    border: 4px solid var(--summer-yellow);
    transition: transform 0.3s ease;
}

.david-image:hover {
    transform: scale(1.05) rotate(1deg);
}

.david-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 228, 94, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.david-caption {
    max-width: 800px;
    margin: 0 auto;
}

.david-caption .font-marker {
    font-family: 'Permanent Marker', cursive;
    color: var(--summer-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Attributes Section */
.attributes {
    background: linear-gradient(180deg, rgba(0, 206, 209, 0.05) 0%, rgba(255, 228, 94, 0.1) 100%);
    position: relative;
}

.attributes::before {
    content: '🏖️';
    position: absolute;
    font-size: 120px;
    opacity: 0.07;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(-10deg);
}

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

.attribute-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.attribute-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--xrp-blue);
}

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

.attribute-card li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.attribute-card span {
    font-weight: 600;
}

.attribute-card .mythic {
    color: var(--mythic);
}

.attribute-card .legendary {
    color: var(--legendary);
}

.attribute-card .rare {
    color: var(--rare);
}

.attribute-card .uncommon {
    color: var(--uncommon);
}

.attribute-card .common {
    color: var(--common);
}

.special-combinations {
    background: linear-gradient(135deg, rgba(58, 117, 255, 0.1) 0%, rgba(91, 155, 255, 0.1) 100%);
    border: 2px solid var(--xrp-blue);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.special-combinations h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.special-combinations p {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.special-combinations ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.special-combinations li {
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* Features */
.features {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1) 0%, rgba(255, 105, 180, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '🌴';
    position: absolute;
    font-size: 150px;
    opacity: 0.05;
    bottom: -30px;
    left: -30px;
    transform: rotate(15deg);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 228, 94, 0.2);
    box-shadow: 0 4px 20px rgba(0, 206, 209, 0.15);
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--xrp-blue);
}

.feature-card p {
    color: var(--gray-light);
}

/* Mint Section */
.mint-section {
    background: linear-gradient(135deg, rgba(255, 228, 94, 0.1) 0%, rgba(0, 206, 209, 0.2) 100%);
    position: relative;
}

.mint-section::before {
    content: '🎉';
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    top: 20px;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

.mint-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 3px solid var(--summer-yellow);
    border-radius: 30px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(255, 228, 94, 0.3);
}

.mint-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mint-detail {
    text-align: center;
}

.mint-detail .label {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.mint-detail .value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--xrp-blue);
}

.mint-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-mint {
    background: linear-gradient(135deg, var(--summer-yellow) 0%, var(--tropical-pink) 50%, var(--pool-blue) 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 228, 94, 0.4);
}

.btn-mint:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 117, 255, 0.4);
}

/* Roadmap */
.roadmap {
    background: var(--xrp-black);
}

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

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    border-left: 4px solid var(--xrp-blue);
}

.roadmap-phase {
    background: var(--xrp-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.roadmap-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.roadmap-item ul {
    list-style: none;
}

.roadmap-item li {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.roadmap-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--xrp-blue);
}

/* Footer */
.footer {
    background: var(--xrp-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--xrp-blue);
}

.footer-brand p {
    color: var(--gray);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .collection-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mint-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .collection-stats {
        grid-template-columns: 1fr;
    }
}