:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;
    --accent-color: #32cd32;
    --accent-hover: #39ff14;
    --border-color: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    border-color: #475569;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
    padding: 12px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    width: max-content;
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.card-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    color: #60a5fa;
    font-weight: 500;
    font-size: 0.9rem;
}

.card-footer svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: transform 0.2s;
}

.card:hover .card-footer svg {
    transform: translateX(4px);
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-coming {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.platform-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 12px;
}

/* Netflix Card Styling */
.card.netflix { border-color: #331111; }
.card.netflix::before { background: linear-gradient(90deg, #e50914, #b20710); }
.card.netflix:hover { border-color: #e50914; box-shadow: 0 10px 25px -5px rgba(229, 9, 20, 0.3); }
.card.netflix .card-footer { color: #e50914; }

/* Disney Card Styling */
.card.disney { border-color: #111133; }
.card.disney::before { background: linear-gradient(90deg, #113ccf, #00126b); }
.card.disney:hover { border-color: #113ccf; box-shadow: 0 10px 25px -5px rgba(17, 60, 207, 0.3); }
.card.disney .card-footer { color: #113ccf; }