/* XRP Closed Brunch Event Styles */

@font-face {
    font-family: 'TT Ripple';
    src: url('../TT_Ripple_Book-s.p.40ke08jw-ghnt.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TT Ripple';
    src: url('../TT_Ripple_Regular-s.p.23vew1pmcz0m5.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TT Ripple';
    src: url('../TT_Ripple_Medium-s.p.32nnk51b8pewc.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'TT Ripple';
    src: url('../TT_Ripple_Bold-s.p.34noar9s5o_x8.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Official Ripple Brand Colors */
    --ripple-blue: #0052FF;
    --ripple-dark-blue: #003CE6;
    --ripple-light-blue: #E6EFFF;
    --ripple-black: #191A1B;
    --ripple-dark-gray: #2E2F33;
    --ripple-gray: #6C7080;
    --ripple-light-gray: #9B9FAD;
    --ripple-bg-light: #FAFBFC;
    --ripple-white: #FFFFFF;
    --ripple-border: #E4E7EB;
    --ripple-text-primary: #191A1B;
    --ripple-text-secondary: #6C7080;
    
    /* Spacing and sizing */
    --container-max-width: 1200px;
    --section-padding: 120px 0;
    --border-radius: 12px;
    --shadow: 0 10px 40px rgba(35, 41, 47, 0.1);
    --shadow-lg: 0 20px 60px rgba(35, 41, 47, 0.15);
}

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

body {
    font-family: 'TT Ripple', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--ripple-text-primary);
    background: var(--ripple-white);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro Screen */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ripple-black) 0%, var(--ripple-dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-text {
    text-align: center;
    color: var(--ripple-white);
}

.intro-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--ripple-white), var(--ripple-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 4px;
    opacity: 0.8;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-favicon {
    width: 24px;
    height: 24px;
}

.logo-text, .ripple-logo, .ripple-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ripple-blue);
    text-decoration: none;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--ripple-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--ripple-text-primary);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ripple-blue);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-large, .btn-large-outline, .btn-submit {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary, .btn-large, .btn-submit, .btn-ripple {
    background: var(--ripple-blue);
    color: var(--ripple-white);
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ripple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ripple svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover, .btn-large:hover, .btn-submit:hover, .btn-ripple:hover {
    background: var(--ripple-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 82, 255, 0.3);
}

.btn-ripple:hover svg {
    transform: translateX(4px);
}

.btn-large-outline {
    background: transparent;
    color: var(--ripple-blue);
    border: 2px solid var(--ripple-blue);
    border-radius: 8px;
}

.btn-large-outline:hover {
    background: var(--ripple-blue);
    color: var(--ripple-white);
}

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Hero Section */
.xrp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--ripple-bg-light);
    overflow: hidden;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 82, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 82, 255, 0.04) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: pulse 3s ease-in-out infinite;
}

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

.xrp-logo circle {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 68px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--ripple-text-primary);
    letter-spacing: -0.03em;
    line-height: 80px;
    font-family: 'TT Ripple', sans-serif;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--ripple-text-secondary);
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 38px;
    font-weight: 400;
}

.hero-badge {
    display: inline-block;
    background: var(--ripple-light-blue);
    color: var(--ripple-blue);
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 82, 255, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ripple-text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--ripple-text-secondary);
    font-weight: 400;
}

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

.btn-large, .btn-large-outline {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--ripple-text-primary);
    letter-spacing: -0.02em;
}

.quick-access {
    padding: var(--section-padding);
    background: var(--ripple-white);
}

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

.card {
    background: var(--ripple-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid var(--ripple-border);
    position: relative;
    overflow: hidden;
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ripple-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--ripple-blue);
}

.card-accent {
    background: var(--ripple-bg-light);
}

.card-icon-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ripple-blue);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ripple-text-primary);
    letter-spacing: -0.01em;
}

.card-description {
    color: var(--ripple-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.card-link {
    color: var(--ripple-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
}

.card-link:after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.card:hover .card-link:after {
    margin-left: 1rem;
}

/* Schedule Section */
.featured-section {
    padding: var(--section-padding);
    background: var(--xrp-bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all {
    color: var(--xrp-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--xrp-dark-gray);
}

.discussion-list {
    max-width: 800px;
    margin: 0 auto;
}

.discussion-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 2rem;
    padding: 2rem;
    background: var(--xrp-white);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.discussion-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.discussion-time {
    font-weight: 700;
    color: var(--xrp-black);
    font-size: 1.1rem;
}

.discussion-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--xrp-black);
    margin-bottom: 0.5rem;
}

.discussion-meta {
    color: var(--xrp-gray);
    line-height: 1.6;
}

.discussion-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    align-self: start;
}

.badge-hot {
    background: var(--xrp-orange);
    color: var(--xrp-white);
}

.badge-trending {
    background: var(--xrp-green);
    color: var(--xrp-white);
}

.badge-pinned {
    background: var(--xrp-blue);
    color: var(--xrp-white);
}

.badge-solved {
    background: var(--xrp-gray);
    color: var(--xrp-white);
}

/* Guides Section */
.guides-section {
    padding: var(--section-padding);
    background: var(--xrp-white);
}

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

.guide-card {
    background: var(--xrp-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(35, 41, 47, 0.1);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.guide-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--xrp-green);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.guide-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--xrp-black);
}

.guide-excerpt {
    color: var(--xrp-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guide-meta {
    font-size: 0.9rem;
    color: var(--xrp-light-gray);
    font-style: italic;
}

/* RSVP Section */
.stats-banner {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--xrp-black) 0%, var(--xrp-dark-gray) 100%);
    color: var(--xrp-white);
    position: relative;
    overflow: hidden;
}

.stats-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 82, 255, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite reverse;
}

.stats-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stats-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--xrp-white) 0%, var(--xrp-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Form Styles */
.application-form {
    background: var(--xrp-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    color: var(--xrp-black);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--xrp-black);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid rgba(35, 41, 47, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--xrp-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--xrp-green);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-disclaimer {
    background: var(--xrp-bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--xrp-green);
}

.form-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--xrp-dark-gray);
}

.stats-numbers {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-big {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--xrp-green);
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.rsvp-note {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

/* Footer */
.xrp-footer {
    background: var(--xrp-black);
    color: var(--xrp-white);
    padding: 4rem 0 2rem;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xrp-dark-gray);
    border-radius: 50%;
    color: var(--xrp-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--xrp-green);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--xrp-green);
}

.footer-column a {
    display: block;
    color: var(--xrp-white);
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--xrp-dark-gray);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-center {
        display: none;
    }
    
    .discussion-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-numbers {
        gap: 1.5rem;
    }
    
    .stat-big {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-title {
        font-size: 2rem;
    }
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }