/* CringeProof Brand Overrides */
/* Loaded after soulfra.css - overrides colors/branding while keeping layout */

/* Brand Colors from Database:
   Primary: #ff006e (hot pink)
   Secondary: #bdb2ff (lavender)
   Accent: #000 (black)
*/

/* Override body background for dark theme */
body {
    background: linear-gradient(135deg, #000 0%, #1a1a2e 100%);
    color: white;
}

/* Keep the padding-top from soulfra.css for fixed nav */
/* (Don't override this - nav needs it) */

/* Dark theme container adjustments */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page header styling (the big title area, not nav) */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff006e 0%, #bdb2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.5rem;
    color: #ffe5ec;
    opacity: 0.9;
}

/* Domain cards dark theme */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.domain-card {
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid;
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s;
}

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

/* Loading state */
.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Override card backgrounds for dark theme */
.card {
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #ff006e;
    box-shadow: 8px 8px 0 rgba(255, 0, 110, 0.5);
}

.card:hover {
    box-shadow: 12px 12px 0 rgba(255, 0, 110, 0.7);
}

/* ===== MOBILE-FIRST RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Convert grid to vertical scroll feed */
    .domains-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .domain-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 0 -1rem; /* Full width bleed */
        padding: 1.5rem;
    }

    .domain-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    /* Optimize header for mobile */
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    /* Make footer stack vertically */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-domains {
        flex-direction: column;
    }

    .footer-domains a {
        width: 100%;
        text-align: center;
    }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .domain-card,
    .record-btn-small,
    .soulfra-links a,
    .footer-domains a {
        min-height: 44px; /* iOS minimum tap target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
