@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-red: #FF4655;
    --dark-bg: #111111;
    --card-bg: #1C1C1C;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-gold: #E0D2BF;
    --accent-gold-dark: #C4B7A6;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 16px 64px rgba(0, 0, 0, 0.5);
    --border-radius: 16px;
    --border-radius-small: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== BASE RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    pointer-events: none;
    user-select: none;
    max-width: 100%;
    height: auto;
}

::selection {
    background: rgba(255, 70, 85, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(255, 70, 85, 0.3);
    color: white;
}

/* ==================== HEADER ==================== */
.Header {
    width: 100%;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(17, 17, 17, 0.95) 100%);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

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

.Nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.Nav a {
    color: var(--text-secondary);
    padding: 8px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 6px;
}

.Nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.Nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.Nav a:hover::after {
    width: 80%;
}

.NavBut {
    height: 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.NavBut:hover {
    filter: brightness(1.15);
}

.dfpot {
    display: flex;
    align-items: center;
    gap: 32px;
}

.NavHead {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.HeroApp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.Hero {
    margin-top: 24px;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
}

.LeftH {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.LeftH h1 {
    color: var(--dark-bg);
    font-family: "Bebas Neue", cursive;
    font-size: 164px;
    font-weight: 400;
    line-height: 129px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.LeftH span {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

/* ВАЖНО: Div2 с башней - башня может выходить за границы (только на десктопе) */
.RightPc {
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 660px;
    height: 797px;
    background: linear-gradient(180deg, #FFECD1 0%, #C8BBA9 100%);
    border-radius: 32px;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.RightPc:hover {
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(255, 70, 85, 0.08);
}

.Bash {
    position: absolute;
    transition: filter 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.Bash:hover {
    filter: brightness(1.05) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Для главного изображения внутри RightPc */
.RightPc > img:not(.Bash) {
    position: relative;
    z-index: 1;
}

/* ==================== BUTLET SECTION ==================== */
.ButLet {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 716px;
    height: 389px;
    background: linear-gradient(163deg, #E0D2BF 32.65%, #CEC0AD 89.91%);
    border-radius: 32px;
    padding: 30px;
    position: relative;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.ButLet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    border-radius: 32px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ButLet:hover {
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 12px 30px rgba(224, 210, 191, 0.3);
}

.ButLet:hover::before {
    opacity: 1;
}

.ButLet h1 {
    color: #857C6F;
    font-family: "Bebas Neue", cursive;
    font-size: 54px;
    font-weight: 400;
    line-height: 46px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0;
    z-index: 2;
    position: relative;
}

.ButLet h2 {
    color: #C4B7A6;
    font-family: "Bebas Neue", cursive;
    font-size: 38px;
    font-weight: 400;
    line-height: 31px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0;
    z-index: 2;
    position: relative;
}

.ButLet img {
    position: absolute;
    width: 500px;
    margin-left: 185px;
    opacity: 0.9;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.ButLet:hover img {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

/* ==================== MOBILE HERO ==================== */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.MobImgAp {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 423px;
    border-radius: 17px;
    background: linear-gradient(180deg, #FFECD1 0%, #C8BBA9 100%);
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.MobImgAp:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.MobImgAp img {
    position: absolute;
    width: clamp(200px, 50vw, 280px);
    height: auto;
}

/* ==================== CARDS SECTION ==================== */
.Cards {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.CardsCon2 {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    width: 100%;
    max-width: 1400px;
    border-radius: 32px 32px 0px 0px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.CardsCon2 span {
    color: var(--text-muted);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

#attempts-counter {
    color: var(--primary-red);
    font-weight: 600;
}

.CardsCon2 h1 {
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.CardsCon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    padding: 40px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    border-radius: 0px 0px 32px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

/* ==================== PREMIUM CARD ITEMS ==================== */
.card-item {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f5f5f5 75%, #ffffff 100%),
        radial-gradient(circle at 30% 20%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0,0,0,0.01) 0%, transparent 50%);
    border-radius: var(--border-radius);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><circle cx="16" cy="16" r="12" fill="%23FF4655" fill-opacity="0.8"/><circle cx="16" cy="16" r="8" fill="white"/><circle cx="16" cy="16" r="4" fill="%23FF4655"/></svg>') 16 16, auto;
    transition: var(--transition-smooth);
    border: 3px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0,0,0,0.003) 1px,
            rgba(0,0,0,0.003) 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(0,0,0,0.003) 1px,
            rgba(0,0,0,0.003) 2px
        );
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.3) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
    opacity: 0.7;
}

.card-item:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 12px 28px rgba(255, 70, 85, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 70, 85, 0.2);
}

.card-item:hover::before {
    opacity: 0.9;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a 0%, #000000 100%);
    border-radius: var(--border-radius);
    z-index: 1;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    z-index: 2;
}

.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><circle cx="20" cy="20" r="15" fill="%23FF4655" fill-opacity="0.9" stroke="white" stroke-width="2"/><circle cx="20" cy="20" r="10" fill="white"/><circle cx="20" cy="20" r="5" fill="%23FF4655"/></svg>') 20 20, crosshair;
    touch-action: none;
    border-radius: var(--border-radius);
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scratch-canvas:active {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 44 44" fill="none"><circle cx="22" cy="22" r="17" fill="%23FF4655" fill-opacity="1" stroke="white" stroke-width="3"/><circle cx="22" cy="22" r="12" fill="white"/><circle cx="22" cy="22" r="7" fill="%23FF4655"/></svg>') 22 22, crosshair;
}

.scratch-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><circle cx="20" cy="20" r="15" fill="%23FF4655" fill-opacity="0.9" stroke="white" stroke-width="2"/><circle cx="20" cy="20" r="10" fill="white"/><circle cx="20" cy="20" r="5" fill="%23FF4655"/></svg>') 20 20, pointer;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f5f5f5 75%, #ffffff 100%),
        radial-gradient(circle at 30% 20%, rgba(0,0,0,0.02) 0%, transparent 50%);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    z-index: 10;
    text-align: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scratch-fallback small {
    font-size: 10px;
    color: #999999;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 4px;
}

.scratch-fallback:hover {
    background: 
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%, #f8f9fa 100%),
        radial-gradient(circle at 30% 20%, rgba(0,0,0,0.03) 0%, transparent 50%);
    color: #333333;
    transform: scale(1.01);
}

.card-revealed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-bounce);
    z-index: 5;
}

.card-revealed.revealed-active {
    opacity: 1;
    transform: scale(1);
}

.card-revealed.auto-revealed {
    animation: autoReveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.card-scratched {
    animation: cardPulse 0.5s ease-out;
}

.card-auto-reveal {
    animation: shimmer 1s ease-out;
}

/* ==================== MODAL ==================== */
.modalall {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    transition: opacity 0.4s ease;
}

.MoadlEn {
    width: min(400px, 90vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--card-bg) 0%, #252525 100%);
    border-radius: 24px;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: var(--transition-bounce);
}

.MoadlEn.modal-animate {
    transform: scale(1);
}

.MoadlEn img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.TextMoad {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.TextMoad button {
    background: linear-gradient(135deg, var(--primary-red) 0%, #E63946 100%);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(255, 70, 85, 0.3);
    flex-shrink: 0;
}

.TextMoad button:hover {
    box-shadow: 0 8px 32px rgba(255, 70, 85, 0.5);
    background: linear-gradient(135deg, #E63946 0%, var(--primary-red) 100%);
    filter: brightness(1.05);
}

.TextMoad button:active {
    filter: brightness(0.95);
}

.TextMoad p {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    flex-shrink: 0;
}

/* ==================== PLAYOFFS SECTION ==================== */
.Playoffs {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.PlayDiv {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
}

.PlayDivLogo {
    margin-bottom: 32px;
}

.PlayDivLogo h2 {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.PlayDiv img {
    width: 100%;
    max-width: 1320px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.PlayDiv img:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ==================== FOOTER ==================== */
.Footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    padding: 60px 20px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.Footer img {
    max-width: 100%;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.Footer img:hover {
    opacity: 1;
}

/* ==================== ANIMATIONS ==================== */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateY(5px) rotate(1deg);
    }
}

@keyframes autoReveal {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
    }
    70% {
        transform: scale(1.05) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes cardPulse {
    0% { 
        transform: scale(1);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.1),
            0 8px 20px rgba(0, 0, 0, 0.06);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 
            0 4px 16px rgba(255, 70, 85, 0.3),
            0 12px 32px rgba(255, 70, 85, 0.2);
    }
    100% { 
        transform: scale(1);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.1),
            0 8px 20px rgba(0, 0, 0, 0.06);
    }
}

@keyframes shimmer {
    0% { 
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.1),
            0 8px 20px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.08);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(255, 70, 85, 0.4),
            0 12px 40px rgba(255, 70, 85, 0.3),
            0 20px 60px rgba(255, 70, 85, 0.2);
        border-color: rgba(255, 70, 85, 0.6);
    }
    100% { 
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.1),
            0 8px 20px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.08);
    }
}

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

/* ==================== UTILITY CLASSES ==================== */
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.p-4 { padding: 1rem; }
.max-h-6 { max-height: 1.5rem; }
.cursor-pointer { cursor: pointer; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.overflow-hidden { overflow: hidden; }
.touch-none { touch-action: none; }
.transition-opacity { transition-property: opacity; }
.duration-200 { transition-duration: 200ms; }
.duration-700 { transition-duration: 700ms; }
.rounded-lg { border-radius: 0.5rem; }
.bg-gray-800 { background-color: #1f2937; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ==================== RESPONSIVE: LARGE TABLETS (1024px - 1200px) ==================== */
@media (max-width: 1200px) and (min-width: 1025px) {
    .Header {
        padding: 18px 28px;
    }
    
    .HeroApp {
        padding: 0 24px;
    }
    
    .Hero {
        max-width: 100%;
        gap: 32px;
    }
    
    .LeftH h1 {
        font-size: clamp(120px, 12vw, 164px);
        line-height: clamp(95px, 10vw, 129px);
    }
    
    /* Башня остается пропорциональной */
    .RightPc {
        width: clamp(500px, 48vw, 600px);
        height: clamp(600px, 60vh, 750px);
    }
    
    .RightPc .Bash {
        width: clamp(240px, 32vw, 320px);
    }
    
    .RightPc > img:not(.Bash) {
        width: clamp(280px, 38vw, 380px);
    }
    
    .ButLet {
        width: 100%;
        max-width: 650px;
        height: auto;
        min-height: 360px;
        padding: 28px;
    }
    
    .ButLet h1 {
        font-size: clamp(44px, 5vw, 54px);
        line-height: clamp(38px, 4.5vw, 46px);
    }
    
    .ButLet h2 {
        font-size: clamp(32px, 3.5vw, 38px);
        line-height: clamp(28px, 3vw, 31px);
    }
    
    .ButLet img {
        width: clamp(380px, 45%, 460px);
        margin-left: clamp(120px, 15%, 185px);
    }
    
    .CardsCon {
        max-width: 100%;
        padding: 36px;
        gap: 22px;
    }
    
    .CardsCon2 {
        max-width: 100%;
        padding: 36px;
    }
}

/* ==================== RESPONSIVE: MEDIUM TABLETS (769px - 1024px) ==================== */
@media (max-width: 1024px) and (min-width: 901px) {
    .Header {
        padding: 16px 24px;
    }
    
    .Nav a {
        font-size: 11px;
        padding: 7px 14px;
    }
    
    .Nav {
        gap: 20px;
    }
    
    .dfpot {
        gap: 24px;
    }
    
    .HeroApp {
        padding: 0 20px;
    }
    
    .Hero {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 100%;
    }
    
    .LeftH {
        width: 100%;
        max-width: 750px;
        align-items: center;
        text-align: center;
    }
    
    .LeftH h1 {
        font-size: clamp(110px, 14vw, 150px);
        line-height: clamp(90px, 11vw, 120px);
        margin-bottom: 28px;
    }
    
    /* ПЛАНШЕТ: Фиксированная система */
    .RightPc {
        position: relative;
        overflow: hidden;
        width: 460px;
        height: 550px;
        margin: 0 auto;
    }
    
    .RightPc .Bash {
        position: absolute;
        height: auto;
        z-index: 3;
    }
    
    .RightPc > img:not(.Bash) {
        position: absolute;
        width: 260px;
        height: auto;
        bottom: 0;
        right: 10%;
        z-index: 2;
    }
    
    .ButLet {
        width: 100%;
        max-width: 650px;
        height: auto;
        min-height: 360px;
        padding: 28px;
        margin: 0 auto;
    }
    
    .ButLet h1 {
        font-size: clamp(44px, 5.5vw, 54px);
        line-height: clamp(38px, 5vw, 46px);
    }
    
    .ButLet h2 {
        font-size: clamp(32px, 4vw, 38px);
        line-height: clamp(28px, 3.5vw, 32px);
    }
    
    .ButLet img {
        width: clamp(340px, 52%, 420px);
        margin-left: 0;
        right: 20px;
        bottom: 20px;
    }
    
    .Cards {
        margin-top: 52px;
        padding: 0 20px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
        padding: 36px;
        max-width: 100%;
    }
    
    .CardsCon2 {
        max-width: 100%;
        padding: 36px;
    }
    
    .CardsCon2 h1 {
        font-size: clamp(28px, 3.8vw, 34px);
        line-height: 1.15;
    }
    
    .CardsCon2 span {
        font-size: clamp(17px, 2.2vw, 19px);
    }
    
    .PlayDiv {
        padding: 0 20px;
    }
    
    .PlayDivLogo h2 {
        font-size: 20px;
    }
    
    .Playoffs {
        margin-top: 64px;
    }
    
    .Footer {
        margin-top: 90px;
        padding: 56px 20px;
    }
}

/* ==================== RESPONSIVE: ПРОМЕЖУТОЧНЫЕ ПЛАНШЕТЫ (850px - 900px) ==================== */
@media (max-width: 900px) and (min-width: 851px) {
    .Header {
        padding: 16px 24px;
    }
    
    .Nav a {
        font-size: 11px;
        padding: 7px 14px;
    }
    
    .Nav {
        gap: 20px;
    }
    
    .dfpot {
        gap: 24px;
    }
    
    .HeroApp {
        padding: 0 20px;
    }
    
    .Hero {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 100%;
    }
    
    .LeftH {
        width: 100%;
        max-width: 750px;
        align-items: center;
        text-align: center;
    }
    
    .LeftH h1 {
        font-size: clamp(110px, 14vw, 150px);
        line-height: clamp(90px, 11vw, 120px);
        margin-bottom: 28px;
    }
    
    /* ПЛАНШЕТ: Фиксированная система */
    .RightPc {
        position: relative;
        overflow: hidden;
        width: 460px;
        height: 550px;
        margin: 0 auto;
    }
    
    .RightPc .Bash {
        position: absolute;
        height: auto;
        z-index: 3;
    }
    
    .RightPc > img:not(.Bash) {
        position: absolute;
        width: 260px;
        height: auto;
        bottom: 0;
        right: 10%;
        z-index: 2;
    }
    
    .ButLet {
        width: 100%;
        max-width: 650px;
        height: auto;
        min-height: 360px;
        padding: 28px;
        margin: 0 auto;
    }
    
    .ButLet h1 {
        font-size: clamp(44px, 5.5vw, 54px);
        line-height: clamp(38px, 5vw, 46px);
    }
    
    .ButLet h2 {
        font-size: clamp(32px, 4vw, 38px);
        line-height: clamp(28px, 3.5vw, 32px);
    }
    
    .ButLet img {
        width: clamp(340px, 52%, 420px);
        margin-left: 0;
        right: 20px;
        bottom: 20px;
    }
    
    .Cards {
        margin-top: 52px;
        padding: 0 20px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
        padding: 36px;
        max-width: 100%;
    }
    
    .CardsCon2 {
        max-width: 100%;
        padding: 36px;
    }
    
    .CardsCon2 h1 {
        font-size: clamp(28px, 3.8vw, 34px);
        line-height: 1.15;
    }
    
    .CardsCon2 span {
        font-size: clamp(17px, 2.2vw, 19px);
    }
    
    .PlayDiv {
        padding: 0 20px;
    }
    
    .PlayDivLogo h2 {
        font-size: 20px;
    }
    
    .Playoffs {
        margin-top: 64px;
    }
    
    .Footer {
        margin-top: 90px;
        padding: 56px 20px;
    }
}

/* ==================== RESPONSIVE: МАЛЫЕ ПЛАНШЕТЫ (769px - 850px) ==================== */
@media (max-width: 850px) and (min-width: 769px) {
    .Header {
        padding: 16px 24px;
    }
    
    .Nav a {
        font-size: 11px;
        padding: 7px 14px;
    }
    
    .Nav {
        gap: 20px;
    }
    
    .dfpot {
        gap: 24px;
    }
    
    .HeroApp {
        padding: 0 20px;
    }
    
    .Hero {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 100%;
    }
    
    .LeftH {
        width: 100%;
        max-width: 750px;
        align-items: center;
        text-align: center;
    }
    
    .LeftH h1 {
        font-size: clamp(110px, 14vw, 150px);
        line-height: clamp(90px, 11vw, 120px);
        margin-bottom: 28px;
    }
    
    /* ПЛАНШЕТ: Фиксированная система */
    .RightPc {
        position: relative;
        overflow: hidden;
        width: 460px;
        height: 550px;
        margin: 0 auto;
    }
    
    .RightPc .Bash {
        position: absolute;
        height: auto;
        z-index: 3;
    }
    
    .RightPc > img:not(.Bash) {
        position: absolute;
        width: 260px;
        height: auto;
        bottom: 0;
        right: 10%;
        z-index: 2;
    }
    
    .ButLet {
        width: 100%;
        max-width: 650px;
        height: auto;
        min-height: 360px;
        padding: 28px;
        margin: 0 auto;
    }
    
    .ButLet h1 {
        font-size: clamp(44px, 5.5vw, 54px);
        line-height: clamp(38px, 5vw, 46px);
    }
    
    .ButLet h2 {
        font-size: clamp(32px, 4vw, 38px);
        line-height: clamp(28px, 3.5vw, 32px);
    }
    
    .ButLet img {
        width: clamp(340px, 52%, 420px);
        margin-left: 0;
        right: 20px;
        bottom: 20px;
    }
    
    .Cards {
        margin-top: 52px;
        padding: 0 20px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
        padding: 36px;
        max-width: 100%;
    }
    
    .CardsCon2 {
        max-width: 100%;
        padding: 36px;
    }
    
    .CardsCon2 h1 {
        font-size: clamp(28px, 3.8vw, 34px);
        line-height: 1.15;
    }
    
    .CardsCon2 span {
        font-size: clamp(17px, 2.2vw, 19px);
    }
    
    .PlayDiv {
        padding: 0 20px;
    }
    
    .PlayDivLogo h2 {
        font-size: 20px;
    }
    
    .Playoffs {
        margin-top: 64px;
    }
    
    .Footer {
        margin-top: 90px;
        padding: 56px 20px;
    }
}

/* ==================== RESPONSIVE: LARGE PHONES (601px - 768px) ==================== */
@media (max-width: 768px) and (min-width: 601px) {
    .Header {
        padding: 16px 20px;
    }
    
    .Nav {
        gap: 14px;
    }
    
    .Nav a {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .HeroApp {
        padding: 0 16px;
    }
    
    .Hero {
        margin-top: 20px;
        flex-direction: column;
        gap: 24px;
    }
    
    .MobileContent h1 {
        color: var(--dark-bg);
        font-family: "Bebas Neue", cursive;
        font-size: clamp(75px, 15vw, 95px);
        font-weight: 400;
        line-height: 0.85;
        margin: 20px 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .MobileContent h1 span {
        color: var(--primary-red);
        text-shadow: 0 0 15px rgba(255, 70, 85, 0.3);
    }
    
    .MobImgAp {
        width: 100%;
        height: clamp(400px, 52vh, 520px);
        margin-bottom: 20px;
    }
    
    .MobImgAp img {
        width: clamp(230px, 46vw, 310px);
    }
    
    .MobileCard {
    width: 100%;
    background:
        linear-gradient(163deg, rgba(224, 210, 191, 0.55) 32.65%, rgba(206, 192, 173, 0.55) 89.91%),
        url('assets/ba123.png') center/cover no-repeat;
    padding: 22px 18px;
    min-height: 270px;
    border-radius: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

    
    .MobileCard:hover {
        box-shadow: var(--shadow-strong);
    }
    
    .MobileCard h2 {
        color: #857C6F;
        font-family: "Bebas Neue", cursive;
        font-size: 24px;
        line-height: 20px;
        margin-bottom: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .MobileCard h3 {
        color: #C4B7A6;
        font-family: "Bebas Neue", cursive;
        font-size: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .MobileImage img {
        width: 100%;
        border-radius: 16px;
    }
    
    .Cards {
        margin-top: 38px;
        padding: 0 16px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 16px;
        padding: 28px;
        border-radius: 0px 0px 20px 20px;
    }
    
    .CardsCon2 {
        padding: 28px;
        border-radius: 20px 20px 0px 0px;
    }
    
    .CardsCon2 h1 {
        font-size: clamp(26px, 4.2vw, 32px);
        line-height: 1.2;
    }
    
    .CardsCon2 span {
        font-size: clamp(16px, 2.6vw, 19px);
    }
    
    .PlayDivLogo h2 {
        font-size: 18px;
    }
    
    .Playoffs {
        margin-top: 52px;
    }
    
    .PlayDiv {
        padding: 0 16px;
    }
    
    .Footer {
        padding: 50px 16px;
        margin-top: 75px;
    }
}

/* ==================== RESPONSIVE: MOBILE (481px - 600px) ==================== */
@media (max-width: 600px) and (min-width: 481px) {
    .Header {
        padding: 14px 16px;
    }
    
    .Nav {
        gap: 8px;
    }
    
    .Nav a {
        font-size: 9px;
        padding: 5px 8px;
    }
    
    .NavBut {
        height: 24px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .HeroMobile {
        width: 100%;
        padding: 0 16px;
    }
    
    .MobileContent h1 {
        color: var(--dark-bg);
        font-family: "Bebas Neue", cursive;
        font-size: clamp(65px, 16vw, 80px);
        font-weight: 400;
        line-height: 0.8;
        margin: 16px 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .MobileContent h1 span {
        color: var(--primary-red);
        text-shadow: 0 0 15px rgba(255, 70, 85, 0.3);
    }
    
    .MobImgAp {
        height: clamp(360px, 48vh, 450px);
        border-radius: 17px;
    }
    
    .MobImgAp img {
        width: clamp(180px, 48vw, 250px);
    }
    
    .MobileCard {
    width: 100%;
    background:
        linear-gradient(163deg, rgba(224, 210, 191, 0.55) 32.65%, rgba(206, 192, 173, 0.55) 89.91%),
        url('assets/ba123.png') center/cover no-repeat;
    padding: 22px 18px;
    min-height: 270px;
    border-radius: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

    
    .MobileCard::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
        border-radius: 17px;
        pointer-events: none;
        opacity: 0.7;
    }
    
    .MobileCard:hover {
        box-shadow: var(--shadow-strong);
    }
    
    .MobileCard:hover::before {
        opacity: 0.9;
    }
    
    .MobileCard h2 {
        color: #857C6F;
        font-family: "Bebas Neue", cursive;
        font-size: 24px;
        line-height: 20px;
        margin-bottom: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .MobileCard h3 {
        color: #C4B7A6;
        font-family: "Bebas Neue", cursive;
        font-size: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .Cards {
        margin-top: 28px;
        padding: 0 12px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 14px;
        padding: 20px;
        border-radius: 0px 0px 17px 17px;
    }
    
    .CardsCon2 {
        padding: 20px;
        border-radius: 17px 17px 0px 0px;
    }
    
    .CardsCon2 span {
        font-size: 14px;
    }
    
    .CardsCon2 h1 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .card-item {
        border: 2px solid rgba(0, 0, 0, 0.08);
    }
    
    .MoadlEn {
        width: 92%;
        padding: 20px;
        gap: 16px;
    }
    
    .TextMoad button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .Playoffs {
        margin-top: 45px;
        padding: 0 12px;
    }
    
    .PlayDiv {
        padding: 0 4px;
    }
    
    .PlayDivLogo {
        margin-bottom: 16px;
    }
    
    .PlayDivLogo h2 {
        font-size: 14px;
    }
    
    .PlayDiv img {
        border-radius: 12px;
    }
    
    .Footer {
        padding: 45px 16px;
        margin-top: 70px;
    }
}

/* ==================== RESPONSIVE: SMALL MOBILE (≤ 480px) ==================== */
@media (max-width: 480px) {
    .Header {
        padding: 12px 16px;
    }
    
    .Nav {
        gap: 6px;
    }
    
    .Nav a {
        font-size: 8px;
        padding: 4px 6px;
    }
    
    .NavBut {
        height: 22px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .HeroMobile {
        width: 100%;
        padding: 0 12px;
    }
    
    .MobileContent h1 {
        color: var(--dark-bg);
        font-family: "Bebas Neue", cursive;
        font-size: clamp(55px, 18vw, 75px);
        font-weight: 400;
        line-height: 0.75;
        margin: 14px 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .MobileContent h1 span {
        color: var(--primary-red);
        text-shadow: 0 0 15px rgba(255, 70, 85, 0.3);
    }
    
    .MobImgAp {
        height: clamp(320px, 45vh, 400px);
        border-radius: 17px;
        margin-bottom: 16px;
    }
    
    .MobImgAp img {
        width: clamp(261px, 159vw, 264px);
    }
    
    .MobileCard {
    width: 100%;
    background:
        linear-gradient(163deg, rgba(224, 210, 191, 0.55) 32.65%, rgba(206, 192, 173, 0.55) 89.91%),
        url('assets/ba123.png') center/cover no-repeat;
    padding: 22px 18px;
    min-height: 270px;
    border-radius: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

    
    .MobileCard::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
        border-radius: 17px;
        pointer-events: none;
        opacity: 0.7;
    }
    
    .MobileCard:hover {
        box-shadow: var(--shadow-strong);
    }
    
    .MobileCard:hover::before {
        opacity: 0.9;
    }
    
    .MobileCard h2 {
        color: #857C6F;
        font-family: "Bebas Neue", cursive;
        font-size: 24px;
        line-height: 20px;
        margin-bottom: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .MobileCard h3 {
        color: #C4B7A6;
        font-family: "Bebas Neue", cursive;
        font-size: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .Cards {
        margin-top: 24px;
        padding: 0 12px;
    }
    
    .CardsCon {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 12px;
        padding: 16px;
        border-radius: 0px 0px 17px 17px;
    }
    
    .CardsCon2 {
        padding: 16px;
        border-radius: 17px 17px 0px 0px;
    }
    
    .CardsCon2 span {
        font-size: 12px;
    }
    
    .CardsCon2 h1 {
        font-size: 21px;
        line-height: 22px;
    }
    
    .card-item {
        border: 2px solid rgba(0, 0, 0, 0.08);
        box-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.1),
            0 4px 12px rgba(0, 0, 0, 0.05);
    }
    
    .card-item:hover {
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.15),
            0 12px 28px rgba(255, 70, 85, 0.08);
    }
    
    .scratch-canvas {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none"><circle cx="18" cy="18" r="14" fill="%23FF4655" fill-opacity="0.9" stroke="white" stroke-width="2"/><circle cx="18" cy="18" r="9" fill="white"/><circle cx="18" cy="18" r="5" fill="%23FF4655"/></svg>') 18 18, crosshair;
    }
    
    .scratch-fallback {
        font-size: 12px;
    }
    
    .scratch-fallback small {
        font-size: 9px;
    }
    
    .MoadlEn {
        width: 95%;
        padding: 16px;
        gap: 14px;
    }
    
    .TextMoad button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .TextMoad p {
        font-size: 12px;
    }
    
    .Playoffs {
        margin-top: 40px;
        padding: 0 12px;
    }
    
    .PlayDiv {
        padding: 0 4px;
    }
    
    .PlayDivLogo {
        margin-bottom: 12px;
    }
    
    .PlayDivLogo h2 {
        font-size: 12px;
    }
    
    .PlayDiv img {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .Footer {
        padding: 40px 12px;
        margin-top: 65px;
    }
}

/* ==================== RESPONSIVE: EXTRA SMALL MOBILE (≤ 360px) ==================== */
@media (max-width: 360px) {
    .Header {
        padding: 10px 12px;
    }
    
    .Nav a {
        font-size: 7px;
        padding: 3px 5px;
    }
    
    .NavBut {
        height: 20px;
    }
    
    .MobileContent h1 {
        font-size: clamp(45px, 20vw, 65px);
        line-height: 0.7;
        margin: 12px 0;
    }
    
    .MobImgAp {
        height: clamp(280px, 42vh, 360px);
    }
    
    .MobImgAp img {
        width: clamp(140px, 52vw, 200px);
    }
    
    .MobileCard {
        padding: 20px 16px;
        min-height: 250px;
    }
    
    .MobileCard:hover {
        box-shadow: var(--shadow-strong);
    }
    
    .MobileCard h2 {
        color: #857C6F;
        font-family: "Bebas Neue", cursive;
        font-size: 24px;
        line-height: 20px;
        margin-bottom: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .MobileCard h3 {
        color: #C4B7A6;
        font-family: "Bebas Neue", cursive;
        font-size: 20px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 2;
        position: relative;
    }
    
    .CardsCon {
        gap: 10px;
        padding: 14px;
    }
    
    .CardsCon2 {
        padding: 14px;
    }
    
    .CardsCon2 span {
        font-size: 11px;
    }
    
    .CardsCon2 h1 {
        font-size: 19px;
        line-height: 20px;
    }
    
    .card-item {
        border: 1.5px solid rgba(0, 0, 0, 0.08);
    }
    
    .scratch-fallback {
        font-size: 11px;
    }
    
    .scratch-fallback small {
        font-size: 8px;
    }
    
    .MoadlEn {
        padding: 14px;
        gap: 12px;
    }
    
    .TextMoad button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .TextMoad p {
        font-size: 11px;
    }
    
    .PlayDivLogo h2 {
        font-size: 11px;
    }
    
    .Footer {
        padding: 35px 12px;
        margin-top: 55px;
    }
}

/* ==================== LANDSCAPE MODE OPTIMIZATIONS ==================== */
@media (max-height: 600px) and (orientation: landscape) {
    .Header {
        padding: 10px 20px;
    }
    
    .MobImgAp {
        height: clamp(250px, 70vh, 350px);
    }
    
    .MobileCard {
        min-height: 220px;
        padding: 16px;
    }
    
    .Cards {
        margin-top: 20px;
    }
    
    .CardsCon {
        padding: 20px;
        gap: 12px;
    }
    
    .CardsCon2 {
        padding: 20px;
    }
    
    .Playoffs {
        margin-top: 30px;
    }
    
    .Footer {
        margin-top: 50px;
        padding: 35px 16px;
    }
}

/* ==================== HIGH DPI SCREENS ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-item::before {
        opacity: 0.8;
    }
    
    .Bash,
    .ButLet img,
    .MobileCard img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .Header,
    .Footer,
    .modalall,
    .scratch-canvas,
    .scratch-fallback {
        display: none !important;
    }
    
    .card-item {
        break-inside: avoid;
    }
    
    body {
        background: white;
    }
}