:root {
    --bg-color: #030305;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-glow: #00f3ff;
    --secondary-glow: #bc13fe;
    --text-main: #ffffff;
    --text-muted: #888888;
    --font-main: 'Outfit', sans-serif;
    --font-code: 'Fira Code', monospace;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

/* AI Popup Styles */
.ai-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.ai-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.terminal-window {
    width: 90%;
    max-width: 500px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 243, 255, 0.15);
    font-family: var(--font-code);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-popup-overlay.active .terminal-window {
    transform: scale(1);
}

.terminal-header {
    background: #161b22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: #8b949e;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
    min-height: 150px;
    color: #00f3ff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #00f3ff;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.btn-terminal {
    width: 100%;
    padding: 15px;
    background: #161b22;
    border: none;
    border-top: 1px solid #30363d;
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-terminal:hover {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}


/* Background Animation */
body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 243, 255, 0.08), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(188, 19, 254, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
}

.main-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.2));
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-text {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Subtitle */
.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 80%;
    font-weight: 300;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

/* Platform Cards */
.platform-card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.platform-card:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Brand Specific Glows on Hover */
.platform-card.youtube:hover { box-shadow: 0 8px 25px -5px rgba(255, 0, 0, 0.3); }
.platform-card.spotify:hover { box-shadow: 0 8px 25px -5px rgba(29, 185, 84, 0.3); }
.platform-card.deezer:hover  { box-shadow: 0 8px 25px -5px rgba(239, 84, 102, 0.3); }

.icon-wrapper {
    font-size: 1.8rem;
    width: 50px;
    display: flex;
    justify-content: center;
    margin-right: 1rem;
}

.youtube .icon-wrapper { color: #FF0000; }
.spotify .icon-wrapper { color: #1DB954; }
.deezer .icon-wrapper { color: #feaa2d; }

.platform-card span {
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

.arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.platform-card:hover .arrow {
    transform: translateX(5px);
    color: #fff;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    padding: 2rem;
    margin-top: auto;
    width: 100%;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.footer-link:hover {
    color: var(--primary-glow);
    background: rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 0;
}

.footer strong {
    color: var(--text-main);
    transition: color 0.3s;
}

.footer-link:hover strong {
    color: var(--primary-glow);
}

.footer-logo {
    width: 24px;
    height: auto;
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s;
}

.footer-link:hover .footer-logo {
    opacity: 1;
    transform: rotate(360deg);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .platform-card {
        padding: 1rem 1.25rem;
    }

    .icon-wrapper {
        font-size: 1.5rem;
        margin-right: 0.8rem;
    }
}
