/* Cybertron Website - Futuristic Dark Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

/* Root Variables */
:root {
    --primary-cyan: #06b6d4;
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-pink: #ec4899;
    --dark-bg: #111827;
    --darker-bg: #0f172a;
    --card-bg: #1f2937;
    --border-color: #6b7280;
    --neon-glow: 0 0 20px rgba(6, 182, 212, 0.5);
    --neon-glow-strong: 0 0 30px rgba(6, 182, 212, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #0f172a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3),
                    0 0 40px rgba(6, 182, 212, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.6),
                    0 0 60px rgba(6, 182, 212, 0.3);
    }
}

@keyframes pulse-neon {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(236, 72, 153, 0.5),
                    0 0 20px rgba(236, 72, 153, 0.3),
                    0 0 30px rgba(236, 72, 153, 0.1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.8),
                    0 0 40px rgba(236, 72, 153, 0.5),
                    0 0 60px rgba(236, 72, 153, 0.2);
    }
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
    100% { transform: rotateY(360deg) scale(1); }
}

@keyframes chipSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes cricketBounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes diceRoll {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
}

@keyframes hockeySwing {
    0%, 100% { transform: rotate(0deg) translateX(0px); }
    25% { transform: rotate(-15deg) translateX(-5px); }
    50% { transform: rotate(0deg) translateX(0px); }
    75% { transform: rotate(15deg) translateX(5px); }
}

@keyframes horseGallop {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-8px) scale(1.05); }
    50% { transform: translateY(-12px) scale(1.1); }
    75% { transform: translateY(-8px) scale(1.05); }
}

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

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

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-5px); }
    75% { transform: translateY(-30px) translateX(15px); }
}

/* Header Styles */
header {
    backdrop-filter: blur(15px);
    background: rgba(31, 41, 55, 0.95);
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(rgba(31, 41, 55, 0.95), rgba(31, 41, 55, 0.95)), 
                      linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    background-origin: border-box;
    background-clip: content-box, border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Neon Glow Effects */
.neon-glow-green {
    animation: glow-green 3s ease-in-out infinite;
}

.neon-glow-red {
    animation: glow-red 3s ease-in-out infinite;
}

.neon-glow-yellow {
    animation: glow-yellow 3s ease-in-out infinite;
}

.neon-glow-blue {
    animation: glow-blue 3s ease-in-out infinite;
}

.neon-glow-purple {
    animation: glow-purple 3s ease-in-out infinite;
}

@keyframes glow-green {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3),
                    0 0 40px rgba(16, 185, 129, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.6),
                    0 0 60px rgba(16, 185, 129, 0.3);
    }
}

@keyframes glow-red {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3),
                    0 0 40px rgba(239, 68, 68, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.6),
                    0 0 60px rgba(239, 68, 68, 0.3);
    }
}

@keyframes glow-yellow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(234, 179, 8, 0.3),
                    0 0 40px rgba(234, 179, 8, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(234, 179, 8, 0.6),
                    0 0 60px rgba(234, 179, 8, 0.3);
    }
}

@keyframes glow-blue {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3),
                    0 0 40px rgba(59, 130, 246, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.6),
                    0 0 60px rgba(59, 130, 246, 0.3);
    }
}

@keyframes glow-purple {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
                    0 0 40px rgba(139, 92, 246, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6),
                    0 0 60px rgba(139, 92, 246, 0.3);
    }
}

/* Logo Animation */
.neon-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

/* Gaming Elements */
.card-animation {
    animation: float 4s ease-in-out infinite;
}

.cricket-animation {
    animation: cricketBounce 3s ease-in-out infinite;
}

.ludo-animation {
    animation: diceRoll 2s ease-in-out infinite;
}

.hockey-animation {
    animation: hockeySwing 3.5s ease-in-out infinite;
}

.horse-animation {
    animation: horseGallop 4s ease-in-out infinite;
}

.chip-animation {
    animation: chipSpin 5s linear infinite;
}

.gaming-element {
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gaming-element::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;
}

.gaming-element:hover::before {
    left: 100%;
}

.gaming-element:hover {
    transform: scale(1.15) rotateY(15deg);
    animation: cardFlip 1.5s ease-in-out;
}

.playing-card {
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.playing-card::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;
}

.playing-card:hover::before {
    left: 100%;
}

.playing-card:hover {
    transform: scale(1.15) rotateY(15deg);
    animation: cardFlip 1.5s ease-in-out;
}

.chip {
    transition: all 0.4s ease;
    cursor: pointer;
}

.chip:hover {
    transform: scale(1.3);
    animation: pulse-neon 1s ease-in-out infinite;
}

/* Neon Border Effects */
.neon-border-red {
    border: 2px solid #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5),
                inset 0 0 15px rgba(239, 68, 68, 0.1);
}

.neon-border-blue {
    border: 2px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5),
                inset 0 0 15px rgba(59, 130, 246, 0.1);
}

.neon-border-yellow {
    border: 2px solid #eab308;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.5),
                inset 0 0 15px rgba(234, 179, 8, 0.1);
}

.neon-border-green {
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5),
                inset 0 0 15px rgba(16, 185, 129, 0.1);
}

.neon-border-purple {
    border: 2px solid #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5),
                inset 0 0 15px rgba(139, 92, 246, 0.1);
}

/* Phone Number Cards */
.phone-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.9));
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(31, 41, 55, 0.9), rgba(55, 65, 81, 0.9)), 
                      linear-gradient(45deg, var(--primary-cyan), var(--primary-blue));
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.phone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), transparent);
    transition: left 0.5s;
}

.phone-card:hover::before {
    left: 100%;
}

.phone-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--neon-glow-strong);
    border-color: var(--primary-cyan);
}

.phone-card:active {
    transform: translateY(-4px) scale(1.02);
}

/* Gaming Cards */
.gaming-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.gaming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    transition: left 0.6s;
}

.gaming-card:hover::before {
    left: 100%;
}

.gaming-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3);
    border-color: var(--primary-pink);
}

/* Text Effects */
.neon-text {
    text-shadow: 0 0 10px currentColor,
                 0 0 20px currentColor,
                 0 0 30px currentColor,
                 0 0 40px currentColor;
    animation: glow 2s ease-in-out infinite alternate;
}

/* Particle Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
    opacity: 0.7;
}

.particle:nth-child(odd) {
    background: var(--primary-blue);
    animation-duration: 10s;
}

.particle:nth-child(3n) {
    background: var(--primary-purple);
    animation-duration: 12s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .gaming-elements {
        flex-direction: column;
        gap: 2rem;
    }
    
    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gaming-grid {
        grid-template-columns: 1fr;
    }
    
    .playing-card, .chip {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .phone-grid {
        grid-template-columns: 1fr;
    }
    
    .playing-card, .chip {
        transform: scale(0.7);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 6px;
    border: 2px solid #1f2937;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-cyan);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    animation: slideInUp 0.4s ease-out;
    backdrop-filter: blur(10px);
}

.message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Utility Classes */
.font-orbitron {
    font-family: 'Orbitron', monospace;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Animation Classes */
.animate-in {
    animation: fadeInScale 0.6s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Focus States */
.phone-card:focus {
    outline: none;
    box-shadow: var(--neon-glow-strong);
    border-color: var(--primary-cyan);
}

/* Selection Styles */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(6, 182, 212, 0.3);
    color: white;
}