:root {
    /* Colors */
    --primary-color: #3D5AFE;
    --secondary-color: #5C6BC0;
    --accent-color: #00E5FF;
    --dark-color: #1E293B;
    --light-color: #FFFFFF;
    --gray-color: #F1F5F9;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
    --mobile-menu-width: 320px;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, #3D5AFE, #00E5FF);
    --top-bar-bg: #EAF6FF;
    --top-bar-text: #1F2937;
    
    /* Spacing */
    --container-padding: 0 20px;
    --nav-height: 80px;
    --top-bar-height: 45px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}
/* Casino Hero Section Styles */
.casino-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-color) 0%, #0F172A 100%);
}

/* Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(61, 90, 254, 0.1) 0%, 
        rgba(0, 229, 255, 0.1) 50%, 
        rgba(92, 107, 192, 0.1) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

.particle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(61, 90, 254, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(92, 107, 192, 0.3) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particleFloat 20s linear infinite;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 10s;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

/* Text Section */
.hero-text-section {
    padding-right: 2rem;
}

.hero-badge-wrapper {
    margin-bottom: 2rem;
}

.development-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(61, 90, 254, 0.1);
    border: 1px solid rgba(61, 90, 254, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
    z-index: 1;
}

.badge-text {
    z-index: 1;
}

/* Hero Title */
.hero-primary-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight {
    position: relative;
    color: var(--accent-color);
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #CBD5E1;
    font-size: 0.9rem;
}

.trust-icon {
    font-size: 1.1rem;
}

/* Action Buttons */
.hero-action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.primary-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    z-index: 1;
}

.primary-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(61, 90, 254, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.primary-action-btn:hover .btn-glow {
    left: 100%;
}

.secondary-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.secondary-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.play-icon {
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Feature Tags */
.hero-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #E2E8F0;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--accent-color);
}

.feature-icon {
    font-size: 1rem;
}

/* Visual Section */
.hero-visual-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.casino-showcase-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
}

/* Primary Device */
.primary-device {
    position: relative;
    z-index: 3;
    width: 300px;
    height: 600px;
    margin: 0 auto;
}

.device-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2D3748, #1A202C);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #0F172A;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

/* Casino App Interface */
.casino-app-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.casino-logo {
    width: 32px;
    height: 32px;
    background: var(--gradient);
    border-radius: 8px;
}

.casino-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-wallet {
    text-align: right;
}

.balance-amount {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.balance-label {
    color: #94A3B8;
    font-size: 0.75rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Featured Game */
.featured-section {
    flex: 1;
}

.featured-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-visual {
    position: relative;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="60" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
    animation: sparkle 3s ease-in-out infinite;
}

.game-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.jackpot-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.jackpot-amount {
    display: block;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.play-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.game-info {
    padding: 1rem;
    text-align: center;
}

.game-info h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.game-info p {
    color: #94A3B8;
    font-size: 0.8rem;
}

/* Game Categories */
.game-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.category-item.active,
.category-item:hover {
    background: rgba(61, 90, 254, 0.2);
    border-color: rgba(61, 90, 254, 0.4);
}

.category-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--gradient);
}

.category-item span {
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Live Tournament */
.live-tournament {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
}

.tournament-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.live-text {
    color: #EF4444;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tournament-details {
    flex: 1;
}

.tournament-details h4 {
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.tournament-details p {
    color: #94A3B8;
    font-size: 0.7rem;
}

.join-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

/* Secondary Device */
.secondary-device {
    position: absolute;
    top: 50px;
    right: -50px;
    z-index: 2;
    width: 150px;
    height: 200px;
    opacity: 0.7;
}

.device-frame-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #374151, #1F2937);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.device-screen-small {
    width: 100%;
    height: 100%;
    background: #111827;
    border-radius: 14px;
    overflow: hidden;
}

.mini-interface {
    padding: 0.5rem;
    height: 100%;
}

.mini-game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
}

.mini-game {
    background: var(--gradient);
    border-radius: 8px;
    opacity: 0.8;
    animation: miniGamePulse 3s ease-in-out infinite;
}

.mini-game:nth-child(2) {
    animation-delay: 0.5s;
}

.mini-game:nth-child(3) {
    animation-delay: 1s;
}

.mini-game:nth-child(4) {
    animation-delay: 1.5s;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 40px;
    height: 56px;
    background: linear-gradient(145deg, var(--white), #F1F5F9);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: -30px;
    animation-delay: 3s;
}

.card-suit {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-1 .card-suit {
    color: #1F2937;
}

.card-2 .card-suit {
    color: #EF4444;
}

.floating-chip {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: floatChip 8s ease-in-out infinite;
}

.chip-1 {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.chip-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.floating-dice {
    position: absolute;
    top: 40%;
    right: -40px;
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: floatDice 10s ease-in-out infinite;
    
    /* Dice dots */
    background-image: 
        radial-gradient(circle at 30% 30%, #1F2937 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, #1F2937 2px, transparent 2px);
    background-size: 100% 100%;
}

/* Visual Effects */
.visual-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 6s;
}

/* Metrics Section */
.hero-metrics-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(61, 90, 254, 0.3);
    transform: translateY(-4px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-top: 0.25rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 2px;
    height: 8px;
    background: rgba(148, 163, 184, 0.7);
    border-radius: 1px;
    animation: mouseScroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

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

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes miniGamePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatChip {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes floatDice {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

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

@keyframes mouseScroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 1s ease-out 0.2s both;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.4s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.8s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-grid {
        gap: 3rem;
    }
    
    .hero-primary-title {
        font-size: 3rem;
    }
    
    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .casino-hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-section {
        padding-right: 0;
        order: 2;
    }
    
    .hero-visual-section {
        order: 1;
    }
    
    .hero-primary-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .hero-action-buttons {
        justify-content: center;
    }
    
    .casino-showcase-container {
        max-width: 350px;
    }
    
    .secondary-device {
        display: none;
    }
    
    .metrics-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-primary-title {
        font-size: 2rem;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-action-btn,
    .secondary-action-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .casino-showcase-container {
        max-width: 280px;
        height: 500px;
    }
    
    .primary-device {
        width: 250px;
        height: 500px;
    }
    
    .floating-elements {
        display: none;
    }
}




/* Gaming Solutions Showcase Section */
.gaming-solutions-showcase {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    overflow: hidden;
}

/* Background Effects */
.solutions-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dynamic-mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(61, 90, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(92, 107, 192, 0.1) 0%, transparent 50%);
    animation: meshGradientFlow 20s ease-in-out infinite;
}

.floating-geometric-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.geo-element {
    position: absolute;
    opacity: 0.1;
    animation: geometricFloat 25s ease-in-out infinite;
}

.geo-circle-1 {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid var(--primary-color);
    top: 60%;
    left: 15%;
    animation-delay: 8s;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transform: rotate(45deg);
    bottom: 20%;
    right: 20%;
    animation-delay: 16s;
}

/* Section Header */
.solutions-header-content {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(61, 90, 254, 0.1);
    border: 1px solid rgba(61, 90, 254, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.intro-badge-icon {
    font-size: 1.1rem;
}

.solutions-main-heading {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.heading-emphasis {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.solutions-description {
    font-size: 1.2rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Primary Services Grid */
.primary-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.service-showcase-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.service-showcase-card:hover::before {
    opacity: 1;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(61, 90, 254, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-service {
    background: rgba(61, 90, 254, 0.05);
    border-color: rgba(61, 90, 254, 0.2);
}

/* Service Visual Container */
.service-visual-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.service-primary-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.icon-glow-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 25px;
    opacity: 0.3;
    filter: blur(20px);
    animation: iconGlow 3s ease-in-out infinite;
}

/* Service Preview Mockups */
.service-preview-mockup {
    flex: 1;
}

.mockup-device-frame {
    width: 120px;
    height: 200px;
    background: linear-gradient(145deg, #374151, #1F2937);
    border-radius: 20px;
    padding: 8px;
    margin: 0 auto;
}

.mockup-screen-content {
    width: 100%;
    height: 100%;
    background: #111827;
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-app-header {
    height: 20px;
    background: rgba(61, 90, 254, 0.3);
    border-radius: 4px;
}

.preview-game-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    flex: 1;
}

.game-tile {
    background: var(--gradient);
    border-radius: 6px;
    opacity: 0.8;
    animation: tileGlow 2s ease-in-out infinite;
}

.tile-1 { animation-delay: 0s; }
.tile-2 { animation-delay: 0.5s; }
.tile-3 { animation-delay: 1s; }
.tile-4 { animation-delay: 1.5s; }

/* Game Showcase Preview */
.game-showcase-preview {
    flex: 1;
}

.game-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.game-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.game-preview-item:hover {
    background: rgba(61, 90, 254, 0.1);
    border-color: rgba(61, 90, 254, 0.3);
}

.game-preview-icon {
    font-size: 1.5rem;
}

.game-preview-label {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Service Content */
.service-content-details {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-summary {
    font-size: 1rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #E2E8F0;
    font-size: 0.9rem;
}

.highlight-icon {
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--white);
    font-weight: bold;
}

.service-explore-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.service-explore-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateX(4px);
}

/* Secondary Services */
.secondary-services-container {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

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

.compact-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.compact-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.compact-service-card:hover::before {
    transform: scaleX(1);
}

.compact-service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(61, 90, 254, 0.2);
    transform: translateY(-4px);
}

.compact-service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compact-icon-container {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.compact-service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.compact-service-description {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.compact-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    background: rgba(61, 90, 254, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(61, 90, 254, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Technology Showcase */
.technology-showcase-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.tech-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.tech-title-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-section-subtitle {
    font-size: 1rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.technology-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.tech-category-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.tech-category-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(61, 90, 254, 0.2);
    transform: translateY(-4px);
}

.tech-category-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.tech-category-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
}

.tech-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.tech-item-card:hover {
    background: rgba(61, 90, 254, 0.1);
    border-color: rgba(61, 90, 254, 0.3);
    transform: scale(1.05);
}

.tech-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gradient);
    position: relative;
}

/* Tech Icon Specific Styles */
.react-icon::after { content: '⚛️'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.flutter-icon::after { content: '🦋'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.swift-icon::after { content: '🍎'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.kotlin-icon::after { content: '🤖'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nodejs-icon::after { content: '🟢'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.python-icon::after { content: '🐍'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.mongodb-icon::after { content: '🍃'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.aws-icon::after { content: '☁️'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ethereum-icon::after { content: '💎'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.solidity-icon::after { content: '⚡'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.web3-icon::after { content: '🌐'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bitcoin-icon::after { content: '₿'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.tech-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    text-align: center;
}

/* CTA Section */
.services-cta-container {
    background: rgba(61, 90, 254, 0.05);
    border: 1px solid rgba(61, 90, 254, 0.2);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(61, 90, 254, 0.1), transparent);
    animation: ctaShimmer 3s ease-in-out infinite;
}

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

.cta-text-content {
    margin-bottom: 2.5rem;
}

.cta-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.1rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.cta-action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.primary-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.primary-cta-button:hover::before {
    left: 100%;
}

.primary-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(61, 90, 254, 0.4);
}

.secondary-cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.secondary-cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-btn-text {
    position: relative;
    z-index: 2;
}

.cta-btn-icon {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes meshGradientFlow {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%; 
    }
    50% { 
        background-position: 100% 100%, 0% 0%, 25% 75%; 
    }
}

@keyframes geometricFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.2; 
    }
}

@keyframes iconGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.1); 
    }
}

@keyframes tileGlow {
    0%, 100% { 
        opacity: 0.6; 
    }
    50% { 
        opacity: 1; 
    }
}

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

/* Animation Classes */
.animate-scale-in {
    animation: scaleIn 0.8s ease-out;
}

.animate-text-reveal {
    animation: textReveal 1s ease-out 0.2s both;
}

.animate-fade-up {
    animation: fadeUp 1s ease-out 0.4s both;
}

.animate-slide-in-left {
    animation: slideInLeft 1s ease-out 0.6s both;
}

.animate-slide-in-right {
    animation: slideInRight 1s ease-out 0.8s both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in-up:nth-child(1) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(2) { animation-delay: 0.4s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.6s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.8s; }
.animate-fade-in-up:nth-child(5) { animation-delay: 1s; }
.animate-fade-in-up:nth-child(6) { animation-delay: 1.2s; }

.animate-slide-in {
    animation: slideIn 1s ease-out 0.3s both;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out 0.5s both;
}

.animate-tech-slide {
    animation: techSlide 1s ease-out both;
}

.animate-tech-slide:nth-child(1) { animation-delay: 0.2s; }
.animate-tech-slide:nth-child(2) { animation-delay: 0.4s; }
.animate-tech-slide:nth-child(3) { animation-delay: 0.6s; }

.animate-text-glow {
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes textReveal {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes techSlide {
    from { 
        opacity: 0; 
        transform: translateY(50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(61, 90, 254, 0.5); 
    }
    50% { 
        text-shadow: 0 0 30px rgba(61, 90, 254, 0.8), 0 0 40px rgba(0, 229, 255, 0.3); 
    }
}

/* Hover Effects */
.service-showcase-card {
    position: relative;
}

.service-showcase-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.1), rgba(0, 229, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
    pointer-events: none;
}

.service-showcase-card:hover::after {
    opacity: 1;
}

.tech-item-card {
    position: relative;
    overflow: hidden;
}

.tech-item-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(61, 90, 254, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    opacity: 0;
}

.tech-item-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Interactive Elements */
.service-explore-btn {
    position: relative;
    overflow: hidden;
}

.service-explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-explore-btn:hover::before {
    left: 100%;
}

.btn-icon-arrow {
    transition: transform 0.3s ease;
}

.service-explore-btn:hover .btn-icon-arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .primary-services-grid {
        gap: 2rem;
    }
    
    .service-showcase-card {
        padding: 2rem;
    }
    
    .technology-grid-container {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .solutions-main-heading {
        font-size: 2.5rem;
    }
    
    .primary-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-visual-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .technology-grid-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .secondary-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gaming-solutions-showcase {
        padding: 4rem 0;
    }
    
    .solutions-main-heading {
        font-size: 2rem;
    }
    
    .service-showcase-card {
        padding: 1.5rem;
    }
    
    .service-visual-container {
        gap: 1rem;
    }
    
    .mockup-device-frame {
        width: 100px;
        height: 160px;
    }
    
    .game-preview-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .game-preview-item {
        padding: 0.75rem 0.5rem;
    }
    
    .secondary-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .compact-service-card {
        padding: 1.5rem;
    }
    
    .technology-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-items-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .tech-item-card {
        padding: 1rem 0.5rem;
    }
    
    .tech-item-icon {
        width: 32px;
        height: 32px;
    }
    
    .tech-item-name {
        font-size: 0.75rem;
    }
    
    .cta-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-cta-button,
    .secondary-cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .solutions-main-heading {
        font-size: 1.75rem;
    }
    
    .tech-section-title {
        font-size: 1.8rem;
    }
    
    .cta-heading {
        font-size: 1.5rem;
    }
    
    .services-cta-container {
        padding: 2rem 1.5rem;
    }
    
    .service-feature-highlights {
        gap: 0.5rem;
    }
    
    .feature-highlight-item {
        font-size: 0.85rem;
    }
    
    .compact-service-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .compact-service-tags {
        justify-content: center;
    }
    
    .floating-geometric-elements {
        display: none;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .service-showcase-card {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .compact-service-card {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.06);
    }
    
    .tech-category-group {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.06);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-showcase-card,
    .compact-service-card,
    .tech-category-group {
        border-width: 2px;
    }
    
    .service-tag {
        border-width: 2px;
    }
    
    .highlight-icon {
        border: 2px solid var(--white);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-scale-in,
    .animate-text-reveal,
    .animate-fade-up,
    .animate-slide-in-left,
    .animate-slide-in-right,
    .animate-fade-in-up,
    .animate-slide-in,
    .animate-fade-in,
    .animate-tech-slide,
    .animate-text-glow {
        animation: none;
    }
    
    .service-showcase-card,
    .compact-service-card,
    .tech-item-card,
    .service-explore-btn {
        transition: none;
    }
    
    .meshGradientFlow,
    .geometricFloat,
    .iconGlow,
    .tileGlow,
    .ctaShimmer {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .gaming-solutions-showcase {
        background: white;
        color: black;
    }
    
    .floating-geometric-elements,
    .dynamic-mesh-gradient {
        display: none;
    }
    
    .service-showcase-card,
    .compact-service-card {
        border: 1px solid #ccc;
        background: white;
        break-inside: avoid;
    }
    
    .cta-action-buttons {
        display: none;
    }
}

/* Focus States for Accessibility */
.service-explore-btn:focus,
.primary-cta-button:focus,
.secondary-cta-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.tech-item-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading States */
.service-showcase-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.service-showcase-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loadingShimmer 1.5s ease-in-out infinite;
}

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

/* Custom Scrollbar for Service Cards */
.service-content-details::-webkit-scrollbar {
    width: 4px;
}

.service-content-details::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.service-content-details::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 2px;
}

.service-content-details::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}
