/* Import Google Fonts: Inter for UI, Orbitron for Headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Orbitron:wght@500;700;900&display=swap');

:root {
    --bg-dark: #020b16;    /* Deep dark blue/black */
    
    /* Logo Colors */
    --brand-blue: #00AEEF;
    --brand-red: #ED1C24;
    --brand-orange: #F7931E;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Animated Background --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(to bottom, rgba(2, 11, 22, 0.9), rgba(2, 11, 22, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300AEEF' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: scrollGrid 60s linear infinite;
}

@keyframes scrollGrid {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%; /* Ensure card takes full width of column */
}

/* Top Border Gradient matching Logo */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red), var(--brand-orange));
}

/* --- Typography & Text Fitting --- */

h1.domain-title {
    font-family: 'Orbitron', sans-serif;
    
    /* 1. Force Single Line */
    white-space: nowrap;
    
    /* 2. Safety: prevent overflow */
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis; 

    /* 3. Fluid Sizing: 
       Min: 1rem (mobile)
       Preferred: 4vw (responsive)
       Max: 2.5rem (stops it from getting too big on desktop) 
    */
    font-size: clamp(1rem, 4vw, 2.5rem);
    
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0 10px; /* Breathing room */
    
    /* Logo Gradient Text */
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    filter: drop-shadow(0 0 20px rgba(237, 28, 36, 0.3));
}

.brand-subtitle {
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Buttons --- */
.btn-rc-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-rc-outline:hover {
    border-color: var(--brand-blue);
    color: white;
    background: rgba(0, 174, 239, 0.1);
}

/* --- Ad Card (Bottom) --- */
.ad-card {
    /* Gradient Border Logic */
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                      linear-gradient(90deg, var(--brand-blue), var(--brand-red), var(--brand-orange));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.btn-rc-accent {
    background: linear-gradient(90deg, var(--brand-orange), #facc15);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-rc-accent:hover {
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.4);
}

/* --- Footer --- */
footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.4);
}

/* Fade In Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}