/* Custom styles for PlayStation 6 Landing Page */

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

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* PlayStation 6 Logo Glow Effect */
.ps6-glow {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.8)); }
}

/* Console Floating Animation */
.console-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Pre-order Button Pulse */
.preorder-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: buttonPulse 2s ease-in-out infinite;
}

.preorder-btn::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.5s;
}

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

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.6); }
}

/* Countdown Items */
.countdown-item {
    position: relative;
    padding: 20px;
    background: rgba(0, 48, 135, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

/* Game Cards */
.game-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

/* Particle Animation */
@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #003087, #00D4FF);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #00D4FF, #003087);
}

/* Loading Animation */
@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .console-float {
        animation: none;
    }
    
    .countdown-item {
        padding: 10px;
        margin: 5px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

/* PlayStation Button Colors */
.ps-button-triangle { color: #00ff87; }
.ps-button-square { color: #ff0087; }
.ps-button-circle { color: #ff8700; }
.ps-button-cross { color: #0087ff; }

/* Achievement Unlock Animation */
@keyframes achievementSlide {
    0% { transform: translateX(100%); opacity: 0; }
    20%, 80% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}

.achievement-notification {
    animation: achievementSlide 4s ease-in-out;
}

/* Glitch Effect for Secret Mode */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-effect {
    animation: glitch 0.3s linear infinite;
}

/* Neural Network Animation */
@keyframes neuralPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

.neural-animation {
    animation: neuralPulse 2s ease-in-out infinite;
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographicShift 3s ease-in-out infinite;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}