/* ============================================
   TAPPLAY Theme - Main CSS (moban-46)
   Touch-friendly gaming platform
   Colors: Green #00C853 + Black #111 + White
   Fonts: Comfortaa (headings) + Roboto (body)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: #00C853;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #69F0AE;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.green-text {
    color: #00C853 !important;
}

/* === CONTENT AREA === */
.content-area {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.announcement-modal.active {
    display: flex;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 2px solid #00C853;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    z-index: 1;
    box-shadow: 0 0 60px rgba(0, 200, 83, 0.3);
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}

.announcement-close:hover {
    color: #00C853;
}

.announcement-header-icon {
    text-align: center;
    margin-bottom: 15px;
}

.announcement-header-icon i {
    font-size: 48px;
    color: #00C853;
    animation: tapBounce 2s ease-in-out infinite;
}

.announcement-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Comfortaa', cursive;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 12px;
    transition: all 0.3s;
}

.announcement-item:hover {
    background: rgba(0, 200, 83, 0.15);
    transform: translateX(5px);
}

.announcement-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.announcement-badge.hot {
    background: #ff4444;
    color: white;
}

.announcement-badge.new {
    background: #00C853;
    color: white;
}

.announcement-badge.info {
    background: #2196F3;
    color: white;
}

.announcement-text {
    flex: 1;
    font-size: 13px;
    color: #ccc;
}

.announcement-item i.fa-chevron-right {
    color: #00C853;
    font-size: 12px;
}

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

.announcement-cta {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111 !important;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    transition: transform 0.1s;
}

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

/* === HEADER === */
.site-header {
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    border-bottom: 2px solid rgba(0, 200, 83, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-time {
    font-size: 13px;
    color: #00C853;
    font-family: 'Roboto', sans-serif;
}

.header-btn-group {
    display: flex;
    gap: 10px;
}

.btn-login {
    padding: 8px 20px;
    border: 1px solid #00C853;
    color: #00C853;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background: rgba(0, 200, 83, 0.1);
    color: #00C853;
}

.btn-register {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111 !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.1s;
}

.btn-register:active {
    transform: scale(0.95);
}

.btn-demo {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ccc;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-demo:hover {
    border-color: #00C853;
    color: #00C853;
}

/* === NAVIGATION === */
.main-navigation {
    background: rgba(0, 200, 83, 0.05);
    border-top: 1px solid rgba(0, 200, 83, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    font-family: 'Comfortaa', cursive;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #00C853;
    background: rgba(0, 200, 83, 0.1);
}

.nav-link i {
    margin-right: 5px;
    font-size: 12px;
}

.has-dropdown .nav-link::after {
    content: ' \f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
}

.has-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    list-style: none;
}

.has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .nav-link {
    padding: 8px 20px;
    font-size: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #00C853;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, #00C853, #00E676);
    overflow: hidden;
    padding: 8px 0;
}

.notification-content {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: notifScroll 30s linear infinite;
    color: #111;
    font-size: 13px;
    font-weight: 500;
}

@keyframes notifScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #00C853;
}

.breadcrumb span {
    color: #666;
}

/* ============================================
   HERO SECTION
   ============================================ */
.tapplay-hero {
    position: relative;
    padding: 80px 40px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-green-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d2b0d 30%, #00C853 60%, #00E676 80%, #111 100%);
    z-index: 0;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: #00C853;
    top: -50px;
    right: -50px;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: #69F0AE;
    bottom: -30px;
    left: 10%;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 150px;
    height: 150px;
    background: #00E676;
    top: 30%;
    left: 50%;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hero Particles */
.hero-particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 200, 83, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.p2 { top: 40%; left: 30%; animation-delay: 1s; }
.p3 { top: 60%; left: 50%; animation-delay: 2s; }
.p4 { top: 30%; left: 70%; animation-delay: 3s; }
.p5 { top: 70%; left: 80%; animation-delay: 4s; }
.p6 { top: 50%; left: 20%; animation-delay: 5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 1; }
}

/* Hero Gesture Demo */
.hero-gesture-demo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.gesture-hand {
    position: absolute;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.15);
}

.gesture-hand-left {
    top: 30%;
    left: 5%;
    animation: gestureSwipe 3s ease-in-out infinite;
}

.gesture-hand-right {
    top: 50%;
    right: 5%;
    animation: gestureSwipe 3s ease-in-out infinite 1.5s;
}

@keyframes gestureSwipe {
    0% { transform: translateX(0) rotate(0deg); opacity: 0.3; }
    25% { transform: translateX(30px) rotate(5deg); opacity: 0.6; }
    50% { transform: translateX(60px) rotate(0deg); opacity: 0.8; }
    75% { transform: translateX(30px) rotate(-5deg); opacity: 0.6; }
    100% { transform: translateX(0) rotate(0deg); opacity: 0.3; }
}

.gesture-swipe-trail {
    position: absolute;
    top: 45%;
    left: 10%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.4), transparent);
    animation: trailPulse 3s ease-in-out infinite;
}

@keyframes trailPulse {
    0%, 100% { opacity: 0; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Hero Content */
.hero-inner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-main-title {
    margin-bottom: 25px;
}

.hero-brand {
    display: block;
    font-size: 56px;
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 40px rgba(0, 200, 83, 0.5);
    letter-spacing: 4px;
}

.hero-divider {
    display: block;
    width: 80px;
    height: 3px;
    background: #00C853;
    margin: 15px auto;
    border-radius: 2px;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    color: #69F0AE;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: 'Comfortaa', cursive;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === TACTILE BUTTONS === */
.btn-tactile-primary {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111 !important;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4), 0 2px 0 #009624;
    cursor: pointer;
}

.btn-tactile-primary:hover {
    color: #111;
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.5), 0 2px 0 #009624;
}

.btn-tactile-primary:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 200, 83, 0.3), 0 1px 0 #009624;
}

.btn-tactile-outline {
    display: inline-block;
    padding: 18px 48px;
    border: 2px solid #00C853;
    color: #00C853 !important;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    transition: transform 0.1s, background 0.3s;
    cursor: pointer;
}

.btn-tactile-outline:hover {
    background: rgba(0, 200, 83, 0.1);
}

.btn-tactile-outline:active {
    transform: scale(0.95);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Comfortaa', cursive;
    color: #fff;
}

.section-title i {
    margin-right: 8px;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARD STACK SECTION (Tinder-style)
   ============================================ */
.card-stack-section {
    padding: 60px 20px;
    margin-bottom: 50px;
    background: linear-gradient(180deg, rgba(0, 200, 83, 0.03) 0%, transparent 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 200, 83, 0.1);
}

.card-stack-container {
    max-width: 400px;
    margin: 0 auto;
}

.card-stack-wrapper {
    position: relative;
    height: 420px;
    perspective: 1000px;
}

.stack-card {
    position: absolute;
    width: 100%;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 83, 0.2);
    cursor: grab;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.stack-card:active {
    cursor: grabbing;
}

/* Card 1 (top) - fully visible */
.stack-card-1 {
    z-index: 3;
    transform: translate(0, 0) rotate(0deg);
}

/* Card 2 (middle) - peeking behind */
.stack-card-2 {
    z-index: 2;
    transform: translate(10px, 10px) rotate(3deg);
    opacity: 0.9;
}

/* Card 3 (back) - further behind */
.stack-card-3 {
    z-index: 1;
    transform: translate(20px, 20px) rotate(6deg);
    opacity: 0.8;
}

.stack-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.stack-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: #ff4444;
    color: white;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.stack-card-badge.new {
    background: #00C853;
}

.stack-card-badge.hot {
    background: #ff4444;
}

.stack-card-content {
    padding: 20px;
}

.stack-card-name {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Comfortaa', cursive;
}

.stack-card-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.6;
}

.stack-card-meta {
    display: flex;
    gap: 20px;
}

.stack-card-rating {
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
}

.stack-card-players {
    color: #00C853;
    font-size: 14px;
}

/* Swipe Hint Arrows */
.swipe-hint-arrows {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 15px;
}

.swipe-arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    animation: swipeArrowPulse 2s ease-in-out infinite;
}

.swipe-arrow-left {
    color: #ff6b6b;
}

.swipe-arrow-right {
    color: #00C853;
}

@keyframes swipeArrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; }
}

.swipe-arrow-left i {
    animation: swipeLeftArrow 2s ease-in-out infinite;
}

.swipe-arrow-right i {
    animation: swipeRightArrow 2s ease-in-out infinite;
}

@keyframes swipeLeftArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes swipeRightArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Card swipe animation states */
.stack-card.swipe-left {
    animation: cardSwipeLeft 0.5s forwards;
}

.stack-card.swipe-right {
    animation: cardSwipeRight 0.5s forwards;
}

@keyframes cardSwipeLeft {
    to {
        transform: translateX(-150%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes cardSwipeRight {
    to {
        transform: translateX(150%) rotate(30deg);
        opacity: 0;
    }
}

@keyframes cardStackReset {
    from {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
}

/* Card Stack Controls */
.card-stack-controls {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.stack-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.1s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-control-btn:active {
    transform: scale(0.9);
}

.stack-btn-skip {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.stack-btn-skip:hover {
    background: rgba(255, 107, 107, 0.1);
}

.stack-btn-undo {
    border-color: #FFD700;
    color: #FFD700;
}

.stack-btn-undo:hover {
    background: rgba(255, 215, 0, 0.1);
}

.stack-btn-like {
    border-color: #00C853;
    color: #00C853;
}

.stack-btn-like:hover {
    background: rgba(0, 200, 83, 0.1);
}

/* ============================================
   TOUCH FEATURES SECTION
   ============================================ */
.touch-features {
    padding: 60px 20px;
    margin-bottom: 50px;
}

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

.feature-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00C853;
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 20px;
}

.feature-icon i {
    font-size: 32px;
    color: #00C853;
}

.gesture-indicator {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #00C853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gesture-tap {
    animation: gestureTapPulse 1.5s ease-in-out infinite;
}

.gesture-tap::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
}

@keyframes gestureTapPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.8); }
}

.gesture-swipe {
    animation: gestureSwipeIndicator 2s ease-in-out infinite;
}

.gesture-swipe::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #111;
    transform: rotate(90deg);
}

@keyframes gestureSwipeIndicator {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.gesture-haptic::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    animation: hapticDot 0.3s ease-in-out infinite;
}

@keyframes hapticDot {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, 1px); }
}

.gesture-instant::after {
    content: '';
    width: 8px;
    height: 3px;
    background: #111;
    border-radius: 2px;
}

.feature-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    font-family: 'Comfortaa', cursive;
}

.feature-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-demo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-tap-circle {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 200, 83, 0.4);
    border-radius: 50%;
    animation: demoTapAnim 2s ease-in-out infinite;
}

@keyframes demoTapAnim {
    0%, 100% { transform: scale(1); border-color: rgba(0, 200, 83, 0.4); }
    50% { transform: scale(0.7); border-color: rgba(0, 200, 83, 0.8); }
}

.demo-swipe-arrow {
    width: 40px;
    height: 2px;
    background: #00C853;
    position: relative;
    animation: demoSwipeAnim 2s ease-in-out infinite;
}

.demo-swipe-arrow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -4px;
    border-left: 8px solid #00C853;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@keyframes demoSwipeAnim {
    0%, 100% { transform: translateX(-10px); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
}

.demo-vibrate {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(0, 200, 83, 0.5);
    border-radius: 4px;
    animation: demoVibrate 0.15s linear infinite;
}

@keyframes demoVibrate {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(1px, 0); }
    50% { transform: translate(-1px, 0); }
    75% { transform: translate(0, 1px); }
}

.demo-loading-bar {
    width: 50px;
    height: 4px;
    background: rgba(0, 200, 83, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.demo-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: #00C853;
    border-radius: 2px;
    animation: demoLoading 1.5s ease-in-out infinite;
}

@keyframes demoLoading {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* ============================================
   TAP GAMES SECTION
   ============================================ */
.tap-games {
    padding: 60px 20px;
    margin-bottom: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 200, 83, 0.03) 50%, transparent 100%);
    border-radius: 24px;
}

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

.game-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.4);
}

.game-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
}

.game-hot-badge {
    padding: 5px 12px;
    background: #ff4444;
    color: white;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.game-hot-badge.new {
    background: #00C853;
}

.game-card-body {
    padding: 20px;
}

.game-card-name {
    font-size: 17px;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Comfortaa', cursive;
}

.game-card-category {
    font-size: 12px;
    color: #00C853;
    margin-bottom: 10px;
}

.game-card-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.game-card-stats i {
    margin-right: 3px;
}

.game-card-stats .fa-star {
    color: #FFD700;
}

.game-card-stats .fa-users {
    color: #00C853;
}

/* Tactile Game Button */
.btn-tactile-game {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111 !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3), 0 2px 0 #009624;
}

.btn-tactile-game:hover {
    color: #111;
}

.btn-tactile-game:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.2), 0 1px 0 #009624;
}

/* ============================================
   HOW TO PLAY SECTION
   ============================================ */
.how-to-play {
    padding: 60px 20px;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.step-gesture-illustration {
    position: relative;
    height: 120px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gesture-phone {
    width: 70px;
    height: 100px;
    border: 2px solid rgba(0, 200, 83, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 83, 0.05);
}

.gesture-phone-screen {
    font-size: 28px;
    color: #00C853;
}

.gesture-finger {
    position: absolute;
    font-size: 28px;
    color: rgba(0, 200, 83, 0.7);
}

.gesture-finger-tap {
    bottom: 5px;
    right: 30%;
    animation: fingerTap 1.5s ease-in-out infinite;
}

@keyframes fingerTap {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(0.9); }
}

.gesture-finger-swipe {
    bottom: 10px;
    right: 20%;
    animation: fingerSwipe 2s ease-in-out infinite;
}

@keyframes fingerSwipe {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.gesture-finger-play {
    bottom: 5px;
    right: 35%;
    animation: fingerPlay 1s ease-in-out infinite;
}

@keyframes fingerPlay {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.85); }
}

.step-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    font-family: 'Comfortaa', cursive;
}

.step-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.connector-swipe {
    display: flex;
    align-items: center;
    gap: 5px;
}

.connector-hand {
    font-size: 20px;
    color: #00C853;
    animation: connectorHandMove 2s ease-in-out infinite;
}

@keyframes connectorHandMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.connector-trail {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00C853, transparent);
    animation: connectorTrailPulse 2s ease-in-out infinite;
}

@keyframes connectorTrailPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   FOOTER CTA SECTION
   ============================================ */
.footer-cta-section {
    position: relative;
    padding: 80px 40px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #0d2b0d 0%, #111 50%, #0d2b0d 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    text-align: center;
    overflow: hidden;
}

.cta-green-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Comfortaa', cursive;
}

.cta-description {
    font-size: 16px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.cta-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #ccc;
}

.cta-stat i {
    color: #00C853;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-tactile-cta {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #111 !important;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4), 0 3px 0 #009624;
}

.btn-tactile-cta:hover {
    color: #111;
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.5), 0 3px 0 #009624;
}

.btn-tactile-cta:active {
    transform: scale(0.95);
    box-shadow: 0 3px 15px rgba(0, 200, 83, 0.3), 0 1px 0 #009624;
}

.btn-tactile-secondary {
    display: inline-block;
    padding: 20px 50px;
    border: 2px solid #00C853;
    color: #00C853 !important;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    transition: transform 0.1s, background 0.3s;
}

.btn-tactile-secondary:hover {
    background: rgba(0, 200, 83, 0.1);
}

.btn-tactile-secondary:active {
    transform: scale(0.95);
}

/* ============================================
   ARTICLE GRID (Blog Pages)
   ============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.article-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 200, 83, 0.3);
}

.article-card-thumb {
    height: 180px;
    overflow: hidden;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-thumb img {
    transform: scale(1.05);
}

.article-card-title {
    padding: 15px 15px 8px;
    font-size: 15px;
}

.article-card-title a {
    color: #fff;
}

.article-card-title a:hover {
    color: #00C853;
}

.article-card-meta {
    padding: 0 15px;
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.article-card-meta i {
    color: #00C853;
    margin-right: 4px;
}

.article-card-excerpt {
    padding: 0 15px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card-more {
    display: block;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #00C853;
    border-top: 1px solid rgba(0, 200, 83, 0.1);
}

.article-card-more:hover {
    background: rgba(0, 200, 83, 0.05);
}

/* === CATEGORY HEADER === */
.category-header {
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), transparent);
    border-radius: 16px;
    border: 1px solid rgba(0, 200, 83, 0.15);
}

.category-title {
    font-size: 24px;
    font-family: 'Comfortaa', cursive;
}

.category-desc {
    margin-top: 8px;
    color: #aaa;
    font-size: 14px;
}

/* === PROVIDER TABS === */
.provider-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.provider-tab {
    padding: 8px 18px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    background: transparent;
    color: #ccc;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.provider-tab:hover {
    border-color: #00C853;
    color: #00C853;
}

.provider-tab.active {
    background: #00C853;
    color: #111;
    border-color: #00C853;
    font-weight: 600;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 10px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #00C853;
    color: #111;
    border-color: #00C853;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Comfortaa', cursive;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta i {
    color: #00C853;
    margin-right: 4px;
}

.article-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.article-featured-img img {
    width: 100%;
    border-radius: 12px;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #ddd;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h2,
.article-content h3 {
    color: #fff;
    margin: 25px 0 12px;
}

.article-content a {
    color: #00C853;
    text-decoration: underline;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 200, 83, 0.1);
    margin-top: 20px;
}

.article-tags i {
    color: #00C853;
}

.article-tags span {
    padding: 4px 12px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #00C853;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 200, 83, 0.1);
}

.article-nav a {
    color: #00C853;
    font-size: 14px;
}

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Comfortaa', cursive;
    color: #fff;
}

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

.related-item {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 83, 0.1);
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-3px);
}

.related-item-thumb {
    height: 100px;
    overflow: hidden;
}

.related-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    padding: 10px;
    font-size: 13px;
    color: #fff;
}

/* === PAGE ARTICLE === */
.page-article {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.page-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Comfortaa', cursive;
}

.page-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-content {
    font-size: 15px;
    line-height: 1.8;
    color: #ddd;
}

.page-content p {
    margin-bottom: 15px;
}

/* === NO POSTS === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-posts i {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    border-top: 2px solid rgba(0, 200, 83, 0.2);
    padding: 50px 0 20px;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand-logo {
    margin-bottom: 15px;
}

.footer-brand-logo img {
    height: 40px;
}

.footer-brand-text {
    font-size: 13px;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-18plus {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid #ff4444;
    color: #ff4444;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00C853;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-social-links a:hover {
    background: #00C853;
    color: #111;
}

.footer-col h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 18px;
    font-family: 'Comfortaa', cursive;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00C853;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #00C853;
    padding-left: 5px;
}

/* Footer License */
.footer-license-bar {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 200, 83, 0.1);
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
    margin-bottom: 20px;
}

.footer-license-bar h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Comfortaa', cursive;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 13px;
}

.license-item i {
    color: #00C853;
    font-size: 18px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright {
    font-size: 13px;
    color: #888;
}

.footer-disclaimer {
    font-size: 12px;
    color: #666;
}

/* ============================================
   FLOATING SIDEBAR
   ============================================ */
.floating-sidebar {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 14px;
    color: #00C853;
    font-size: 18px;
    position: relative;
    transition: all 0.3s;
}

.sidebar-btn:hover {
    background: #00C853;
    color: #111;
    transform: scale(1.1);
}

.sidebar-btn:active {
    transform: scale(0.95);
}

.sidebar-label {
    display: none;
}

.sidebar-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 58px;
    background: #111;
    color: #00C853;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.sidebar-btn-facebook {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.3);
}

.sidebar-btn-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.sidebar-btn-telegram {
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.3);
}

.sidebar-btn-telegram:hover {
    background: #0088cc;
    color: #fff;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes tapBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.9); }
}

@keyframes greenPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(0, 200, 83, 0); }
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-green { color: #00C853; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
