/*
Theme Name: Knockout247
Theme URI: https://knockout247.com
Author: Antigravity
Description: Official theme for Knockout247
Version: 1.0
*/

/* ============================================
   KNOCKOUT247 - Clean & Optimized CSS
   ============================================ */

/* === CSS Variables === */
:root {
    --color-bg-dark: #000000;
    --color-primary: #f5b301;
    --color-secondary: #ffffff;
    --color-whatsapp: #25D366;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* === Reset & Base Styles === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: #000;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-secondary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* === Layout Utilities === */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

/* === Header === */
.header {
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(245, 179, 1, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.header-pill {
    background-color: var(--color-primary);
    color: #000;
    font-weight: 900;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 0 15px rgba(245, 179, 1, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.logo {
    height: 3rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo {
        height: 4rem;
    }
}

/* === Hero Section === */
.hero {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 4px solid var(--color-primary);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(245, 179, 1, 0.2);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* === Domain Bar === */
.domain-bar {
    background-color: var(--color-bg-dark);
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(245, 179, 1, 0.3);
    position: relative;
    z-index: 10;
}

.domain-bar h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .domain-bar h2 {
        font-size: 2.25rem;
    }
}

/* === CTA Section === */
.cta-section {
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: rgba(220, 38, 38, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 4px solid #fff;
    border-radius: 9999px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: flash-green-red 1s ease-in-out infinite;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 10;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.95);
}

.cta-button svg {
    width: 2rem;
    height: 2rem;
}

@media (min-width: 768px) {
    .cta-button {
        padding: 1.25rem 3rem;
        font-size: 1.875rem;
    }

    .cta-button svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* === Games Section === */
.games-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.title-underline {
    height: 4px;
    width: 6rem;
    background-color: var(--color-primary);
    margin: 0 auto;
    border-radius: 9999px;
    box-shadow: 0 0 15px rgba(245, 179, 1, 0.8);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .games-grid {
        gap: 1.5rem;
    }
}

.game-card {
    position: relative;
    border: 1px solid var(--color-primary);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, #1a1200, #000);
    height: 15rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .game-card {
        height: 18rem;
    }
}

.game-card:hover {
    background: linear-gradient(to bottom, #2a1d00, #18181b);
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(245, 179, 1, 0.2);
}

.game-card-image-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-image {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .game-card-image {
        width: 8rem;
        height: 8rem;
    }
}

.game-card:hover .game-card-image {
    transform: scale(1.05);
}

.game-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .game-card-title {
        font-size: 1.25rem;
    }
}

/* === Service Strip === */
.service-strip {
    background-color: var(--color-bg-dark);
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(245, 179, 1, 0.4);
    position: relative;
    overflow: hidden;
}

.service-strip h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .service-strip h2 {
        font-size: 3rem;
    }
}

.domain-strip {
    background-color: var(--color-bg-dark);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 4px solid var(--color-primary);
}

.domain-strip h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 480px) {
    .domain-strip h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .domain-strip h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .domain-strip h2 {
        font-size: 3.75rem;
    }
}

/* === Partners Section === */
.partners-section {
    padding: 2rem 0;
}

.partners-container {
    border: 3px solid var(--color-primary);
    background-color: #000;
    padding: 1.5rem 1rem;
    max-width: 72rem;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(245, 179, 1, 0.15);
    overflow: hidden;
    display: flex;
    position: relative;
}

@media (min-width: 768px) {
    .partners-container {
        padding: 2rem 1rem;
    }
}

.partners-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    align-items: center;
    animation: scroll-left 15s linear infinite;
}

@media (min-width: 768px) {
    .partners-track {
        gap: 6rem;
    }
}

.partners-container:hover .partners-track {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-item:hover {
    opacity: 1;
}

.partner-img {
    height: 2rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .partner-img {
        height: 3rem;
    }
}

/* === Footer === */
.footer {
    padding: 2rem 0;
    border-top: 2px solid var(--color-primary);
    position: relative;
}

.footer-text {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

@media (min-width: 768px) {
    .footer-text {
        font-size: 1rem;
    }
}

.footer-highlight {
    color: var(--color-primary);
}

/* === Floating Buttons === */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    animation: bounce 1s infinite;
}

.floating-whatsapp-button {
    background-color: var(--color-whatsapp);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-whatsapp-button svg {
    width: 2rem;
    height: 2rem;
    color: #fff;
}

.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background-color: #2563eb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

/* === Animations === */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes flash-green-red {

    0%,
    100% {
        background-color: #22c55e;
        border-color: #22c55e;
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
    }

    50% {
        background-color: #dc2626;
        border-color: #dc2626;
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === Utility Classes === */
.min-h-screen {
    min-height: 100vh;
}

/* === Partner Fallback Text === */
.partner-fallback {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    white-space: nowrap;
}