@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #0B0F19;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent-emerald: #10B981;
    --accent-gold: #F59E0B;
    --accent-crimson: #EF4444;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
    --glass-blur: blur(16px);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Nav */
header.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-brand img {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.nav-brand:hover img {
    transform: scale(1.08) rotate(-3deg);
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Container */
.container {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    flex: 1;
}

/* Hero Section */
.hero-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

.hero-banner img.feature-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.hero-avatar {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    border: 3px solid var(--accent-emerald);
    box-shadow: var(--shadow-glow);
    background: #000;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title span.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-size: 1.2rem;
}

/* Card Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.point-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.point-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.point-card.spades { border-left: 4px solid var(--accent-purple); }
.point-card.diamonds { border-left: 4px solid var(--accent-emerald); }
.point-card.hearts { border-left: 4px solid var(--accent-crimson); }
.point-card.clubs { border-left: 4px solid var(--accent-gold); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.point-card-body {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}

.card-img {
    width: 68px;
    height: auto;
    border-radius: 6px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.point-card:hover .card-img {
    transform: translateY(-4px) scale(1.06) rotate(2deg);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.badge.neg { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }
.badge.pos { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }
.badge.mul { background: rgba(245, 158, 11, 0.2); color: #FDE047; }

/* List Styling */
ul.styled-list {
    list-style: none;
    padding: 0;
}

ul.styled-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

ul.styled-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-size: 0.9rem;
}

ul.styled-list li strong {
    color: var(--text-primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: rgba(11, 15, 25, 0.9);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: var(--accent-emerald);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    background: #000;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 10px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--accent-emerald);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header.navbar { padding: 16px; flex-wrap: wrap; gap: 12px; }
    .hero-content { flex-direction: column; align-items: flex-start; bottom: 20px; left: 20px; right: 20px; }
    .hero-avatar { width: 70px; height: 70px; }
    .hero-text h1 { font-size: 2rem; }
    .glass-card { padding: 20px; }
}
