/**
 * Gaffr Landing Page Styles
 */

:root {
    --primary-color: #4CAF50;
    --primary-hover: #45a049;
    --dark-bg: #0A0A0A;
    --dark-secondary: #1A1A1A;
    --dark-accent: #0F2F1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #888888;
    --border-color: rgba(76, 175, 80, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-bg: rgba(10, 10, 10, 0.85);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-accent) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.container {
    text-align: center;
    padding: 32px 24px;
    background: var(--overlay-bg);
    border-radius: 24px;
    box-shadow: 0 24px 48px var(--shadow-color);
    max-width: 380px;
    margin: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.tagline {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.4;
    font-weight: 400;
}

.loading {
    display: none;
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 24px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    display: inline-block;
    padding: 18px 32px;
    background: var(--primary-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.status {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.spinner {
    border: 3px solid rgba(76, 175, 80, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.device-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        margin: 12px;
        padding: 24px 20px;
    }
    
    .logo {
        font-size: 40px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 15px;
    }
    
    .btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}

