@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Poppins:wght@600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap');

:root {
    --color-bg: #0a0a0f;
    --color-surface: #1a1a2e;
    --color-surface-2: #24243a;
    --color-primary: #00e676;
    --color-primary-hover: #00c853;
    --color-accent: #f5a623;
    --color-gold: #f5a623;
    --color-text: #f5f5f7;
    --color-text-muted: #a0a0b8;
    --color-border: #2a2a40;
    --color-danger: #ff3b5c;
    --font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-mono: 'JetBrains Mono', monospace;
    --container: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

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

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}

.btn--accent:hover {
    background: #d4a520;
    border-color: #d4a520;
}

.section {
    padding: 100px 0;
}

.section__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-family-heading);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
    background-size: auto 100%;
    background-position: left center;
    background-repeat: repeat-x;
}

.header--scrolled {
    background: rgba(13, 17, 23, 0.98);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo-img {
    height: 60px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-primary);
}

.header__logo-suit {
    color: var(--color-accent);
    margin-right: 4px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.header__menu a,
.header__menu-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.header__menu a:hover,
.header__menu-link:hover {
    color: var(--color-primary);
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero--sm {
    min-height: 400px;
}

.hero--sm .hero__title {
    font-size: clamp(32px, 6vw, 64px);
    letter-spacing: 8px;
}

.hero--sm .hero__subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 0;
}

.hero::before {
    content: '\2660  \2665  \2666  \2663';
    position: absolute;
    font-size: 180px;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 60px;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
}

.hero__content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero__suit {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.hero__title {
    font-family: var(--font-family-heading);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 800;
    letter-spacing: 12px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
}

.hero__title span {
    color: var(--color-accent);
}

.hero__subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About */
.about {
    background: var(--color-surface);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__content .section__title {
    margin-bottom: 24px;
}

.about__content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-surface-2);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.feature__icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.feature h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.about__image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-bg) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--color-text-muted);
}

/* Tournaments */
.tournaments {
    background: var(--color-bg);
}

.tournaments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tournaments__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-text-muted);
    padding: 60px 0;
}

.tournament-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.tournament-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.tournament-card__image {
    height: 200px;
    overflow: hidden;
}

.tournament-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-card__body {
    padding: 24px;
}

.tournament-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--color-primary);
    color: #fff;
    margin-bottom: 12px;
}

.tournament-card__title {
    font-family: var(--font-family-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tournament-card__excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.tournament-card__meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.tournament-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tournament-card__link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* Features / Poker Modes */
.features {
    background: var(--color-surface);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.features__item {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-surface-2);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.features__item:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.features__item .feature__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.features__item h4 {
    font-family: var(--font-family-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.features__item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Contact */
.contact {
    background: var(--color-bg);
}

.contact__card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 48px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.contact__title {
    font-family: var(--font-family-heading);
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact__card p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.contact__address {
    font-size: 14px;
    color: var(--color-text-muted) !important;
}

/* Page / Single */
.page-content, .single-content {
    background: var(--color-surface);
    min-height: 400px;
}

.page-title {
    font-family: var(--font-family-heading);
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.page-body p {
    margin-bottom: 20px;
}

.page-body a {
    color: var(--color-primary);
}

.page-body a:hover {
    text-decoration: underline;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.post-meta a {
    color: var(--color-primary);
}

.post-thumbnail {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 48px 0;
}

.footer__inner {
    text-align: center;
}

.footer__brand h3 {
    font-family: var(--font-family-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.footer__brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer__social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.footer__copy {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        background-size: cover;
    }

    .header__content {
        height: 56px;
    }

    .header__logo-img {
        height: 40px;
    }

    .header__toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        flex-direction: column;
        padding: 24px 16px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .header__nav--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .header__menu {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .header__cta {
        width: 100%;
        text-align: center;
    }

    .hero--sm {
        min-height: 250px;
    }

    .hero--sm .hero__title {
        font-size: clamp(24px, 5vw, 40px);
        letter-spacing: 4px;
    }

    .hero--sm .hero__subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero--sm .hero__suit {
        font-size: 36px;
    }

    .hero::before {
        font-size: 80px;
        letter-spacing: 30px;
    }

    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
        letter-spacing: 6px;
    }

    .hero__subtitle {
        letter-spacing: 3px;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .hero__suit {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .about__image-placeholder {
        height: 280px;
        font-size: 48px;
    }

    .tournaments__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .features__item {
        padding: 28px 20px;
    }

    .features__item .feature__icon {
        font-size: 36px;
    }

    .section {
        padding: 48px 0;
    }

    .section__title {
        font-size: 24px;
    }

    .section__header {
        margin-bottom: 32px;
    }

    .contact__card {
        padding: 40px 20px;
    }

    .contact__title {
        font-size: 24px;
    }

    .contact__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-content, .single-content {
        min-height: auto;
    }

    .footer {
        padding: 32px 0;
    }

    .footer__brand h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .header__content {
        height: 48px;
    }

    .header__logo-img {
        height: 32px;
    }

    .header__nav {
        top: 48px;
    }

    .hero__title {
        font-size: clamp(24px, 7vw, 32px);
        letter-spacing: 4px;
    }

    .hero__subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero--sm {
        min-height: 200px;
    }

    .section {
        padding: 36px 0;
    }

    .section__title {
        font-size: 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .contact__card {
        padding: 28px 16px;
    }
}
