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

:root {
    --bg-primary: #0d0b1e;
    --neon-pink: #f72585;
    --neon-purple: #7209b7;
    --neon-blue: #3a0ca3;
    --card-glow: #9d4edd;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 11, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.visible {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(114, 9, 183, 0.2) 0%, var(--bg-primary) 70%);
}

.vault-chamber {
    position: absolute;
    width: 100%;
    height: 100%;
}

.disc {
    position: absolute;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--neon-pink), var(--neon-purple), var(--neon-blue), var(--neon-pink));
    opacity: 0.6;
    animation: spin 10s linear infinite;
}

.disc-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-duration: 8s;
}

.disc-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-duration: 12s;
    animation-direction: reverse;
}

.disc-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 60%;
    animation-duration: 6s;
}

.glow-trail {
    position: absolute;
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, var(--neon-pink), transparent);
    animation: float 4s ease-in-out infinite;
}

.trail-1 {
    top: 10%;
    left: 30%;
    animation-delay: -1s;
}

.trail-2 {
    top: 40%;
    right: 25%;
    animation-delay: -3s;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(247, 37, 133, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--text-secondary);
}

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--text-primary);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-pink);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    transition: left 0.3s ease;
    z-index: -1;
}

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

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(58, 12, 163, 0.1) 50%, var(--bg-primary) 100%);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--card-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.game-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.3);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.game-card:hover .card-glow {
    opacity: 0.5;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.game-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.play-button {
    width: 100%;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    border: none;
    color: var(--text-primary);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(247, 37, 133, 0.4);
}

.play-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.5s ease;
}

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

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    color: var(--text-secondary);
}

.shuffleboard-vault {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.2), rgba(114, 9, 183, 0.2));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.vault-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
    opacity: 0.3;
}

.bouncing-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--neon-pink), var(--neon-purple));
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--card-glow);
}

.coin-1 {
    left: 20%;
    animation-delay: 0s;
}

.coin-2 {
    left: 50%;
    animation-delay: -0.5s;
}

.coin-3 {
    left: 80%;
    animation-delay: -1s;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(114, 9, 183, 0.1) 50%, var(--bg-primary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: rgba(13, 11, 30, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--neon-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(247, 37, 133, 0.5); }
    to { text-shadow: 0 0 30px rgba(247, 37, 133, 0.8), 0 0 40px rgba(114, 9, 183, 0.5); }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        padding: 1.5rem;
    }
}

/* Game Page Styles */
.game-page {
    padding-top: 80px;
    min-height: 100vh;
}

.game-header {
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.1), rgba(114, 9, 183, 0.1));
}

.game-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--card-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    background: var(--neon-pink);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--neon-pink);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-iframe {
    width: 100%;
    height: 90vh;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}