/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1A1A1A;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #2C2C2C;
    padding: 1rem 2rem;
    border-bottom: 1px solid #444;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.bloom {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9146FF;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
    position: relative;
}

.bloom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Logo image styling */
.logo img {
    max-height: 80px;
    width: auto;
}

.chat {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9146FF;
    margin-top: -0.5rem;
}

/* Removed white dot from logo */

.mobile {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00CC00;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .purple {
    color: #9146FF;
    display: block;
}

.hero-title .green {
    color: #00CC00;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: #A0A0A0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tagline */
.tagline {
    margin-bottom: 2rem;
}

.tagline h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #9146FF, #00CC00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Beta Notice */
.beta-notice {
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(0, 204, 0, 0.1));
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 12px;
    display: inline-block;
}

.beta-notice p {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

/* Platform Icons */
.platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: #2C2C2C;
    border: 1px solid #444;
    transition: all 0.3s ease;
    min-width: 100px;
}

.platform-icon:hover {
    transform: translateY(-4px);
    border-color: #9146FF;
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.2);
}

.platform-icon svg {
    width: 32px;
    height: 32px;
}

.platform-icon span {
    font-size: 0.875rem;
    font-weight: 600;
}

.platform-icon.twitch svg {
    color: #9146FF;
}

.platform-icon.youtube svg {
    color: #FF0000;
}

.platform-icon.tiktok svg {
    color: #FFFFFF;
}

.platform-icon.kick svg {
    color: #00CC00;
}

/* App Store Links */
.app-stores {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-direction: row;
    align-items: center;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: #2C2C2C;
    border: 1px solid #444;
    border-radius: 12px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    min-width: 180px;
}

.store-button:hover {
    border-color: #9146FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.2);
}

.store-button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    color: #A0A0A0;
    font-weight: 400;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.apple-store svg {
    color: #FFFFFF;
}

.google-play svg {
    color: #00CC00;
}

/* Content Pages (Privacy, Terms, Contact) */
.content {
    flex: 1;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper {
    background-color: #2C2C2C;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #444;
}

.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.last-updated {
    color: #A0A0A0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.content section {
    margin-bottom: 2.5rem;
}

.content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    border-bottom: 2px solid #9146FF;
    padding-bottom: 0.5rem;
}

.content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.content p {
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content li {
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.content strong {
    color: #FFFFFF;
    font-weight: 600;
}

.content a {
    color: #9146FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #7C3AED;
    text-decoration: underline;
}

/* Contact Page Specific Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    background-color: #1A1A1A;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #444;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: #9146FF;
}

.support-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.support-item {
    background-color: #1A1A1A;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #444;
}

.support-item h3 {
    margin-bottom: 1rem;
    color: #00CC00;
}

.quick-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #9146FF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    background-color: #2C2C2C;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #444;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: #9146FF;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.feature p {
    color: #A0A0A0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid #444;
    margin-bottom: 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.cta-section p {
    color: #A0A0A0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.cta-button.primary {
    background-color: #9146FF;
    color: #FFFFFF;
}

.cta-button.primary:hover {
    background-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #444;
}

.cta-button.secondary:hover {
    border-color: #9146FF;
    background-color: rgba(145, 70, 255, 0.1);
    transform: translateY(-2px);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    border-top: 1px solid #444;
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo .logo-text {
    flex-direction: row;
    gap: 0.5rem;
}

.footer-logo .bloom,
.footer-logo .chat {
    font-size: 1.5rem;
}

.footer-logo .mobile {
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #9146FF;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #666;
    font-size: 0.875rem;
}

/* OAuth Specific Styles */
.oauth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.oauth-content {
    background-color: #2C2C2C;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #444;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.oauth-status {
    margin: 2rem 0;
}

.loading-spinner {
    margin-bottom: 1.5rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #444;
    border-top: 4px solid #9146FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.oauth-status h2 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.oauth-status p {
    color: #A0A0A0;
}

.oauth-error,
.oauth-success {
    margin: 2rem 0;
}

.error-icon,
.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.oauth-error h3 {
    color: #FF6B6B;
    margin-bottom: 0.5rem;
}

.oauth-success h3 {
    color: #00CC00;
    margin-bottom: 0.5rem;
}

.retry-button {
    background-color: #9146FF;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background-color: #7C3AED;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .platforms {
        gap: 1rem;
    }
    
    .platform-icon {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .oauth-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .platforms {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-icon {
        flex-direction: row;
        min-width: 200px;
        justify-content: center;
    }
}
