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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #ffd700;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffd700;
}

.logo-symbol {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px #ffd700);
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #00ffe1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.5)),
        url('https://images.pexels.com/photos/2166711/pexels-photo-2166711.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    background-attachment: fixed;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 69, 209, 0.1) 0%, transparent 70%);
    animation: gradientShift 8s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffd700, #00ffe1, #ff45d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cccccc;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, #ffd700, #ff45d1);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d0d0d;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    filter: brightness(1.1);
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hieroglyph {
    position: absolute;
    font-size: 3rem;
    color: #ffd700;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hieroglyph-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hieroglyph-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hieroglyph-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a2e 100%);
}

.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ffd700, #00ffe1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, #ffd700, #00ffe1, #ff45d1);
    border-radius: 25px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(0, 255, 225, 0.2);
}

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

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.game-card:hover .game-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(255, 215, 0, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    text-align: center;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.game-card:hover .game-info {
    transform: translateY(0);
}

.game-info h4 {
    font-size: 1.3rem;
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: 600;
}

.game-info p {
    color: #cccccc;
    font-size: 0.9rem;
    max-width: 200px;
}

.play-button {
    background: linear-gradient(45deg, #ffd700, #ff45d1);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #0d0d0d;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
}

.game-card:hover .play-button {
    transform: translateY(0);
    transition-delay: 0.2s;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.play-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.play-button:hover .play-icon {
    transform: translateX(3px);
}

.game-content {
    padding: 25px;
    text-align: center;
}

.game-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.game-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stars {
    color: #ffd700;
    font-size: 1rem;
}

.rating-text {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #0d0d0d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

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

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.8);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 255, 225, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-image::after {
    opacity: 1;
}

.feature-content {
    padding: 30px 25px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px currentColor);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffd700;
    font-weight: 600;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d0d 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* 3D Hologram Pyramid */
.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.hologram-pyramid {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 50px auto;
    transform-style: preserve-3d;
    animation: rotate3d 10s linear infinite;
}

.hologram-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(0, 255, 225, 0.2));
    border: 2px solid #ffd700;
    backdrop-filter: blur(5px);
}

.hologram-front {
    transform: rotateY(0deg) translateZ(100px);
}

.hologram-right {
    transform: rotateY(90deg) translateZ(100px);
}

.hologram-back {
    transform: rotateY(180deg) translateZ(100px);
}

.hologram-left {
    transform: rotateY(-90deg) translateZ(100px);
}

.hologram-top {
    transform: rotateX(90deg) translateZ(100px);
}

.hologram-bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.hologram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite alternate;
}

.hologram-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffe1;
    border-radius: 50%;
    animation: float-particle 4s ease-in-out infinite;
    box-shadow: 0 0 10px #00ffe1;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 35%;
    right: 20%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 1.5s;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: #1a1a2e;
}

.disclaimer-box {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 69, 209, 0.1));
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.disclaimer-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.disclaimer-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.disclaimer-content p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.disclaimer-content p::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 1.2rem;
}

.disclaimer-content strong {
    color: #00ffe1;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0d0d0d;
    padding: 50px 0 30px;
    border-top: 1px solid #ffd700;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

.footer-text {
    color: #888888;
    font-size: 0.9rem;
}

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

.game-container {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.game-header {
    padding: 30px 0;
    text-align: center;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    margin-bottom: 20px;
}

.back-button {
    background: linear-gradient(45deg, #ffd700, #00ffe1);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #0d0d0d;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.game-page-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ffd700, #00ffe1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-frame {
    flex: 1;
    padding: 0 20px 20px;
}

.game-frame iframe {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Contact Page Styles */
.contact-section {
    padding: 120px 0 80px;
    min-height: calc(100vh - 160px);
}

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

.page-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #00ffe1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
}

.contact-form-container {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(13, 13, 13, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.submit-button {
    background: linear-gradient(45deg, #ffd700, #ff45d1);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d0d0d;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Legal Pages Styles */
.legal-section {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.legal-text h2 {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Animations */
@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px #ffd700);
    }
    to {
        filter: drop-shadow(0 0 20px #ffd700) drop-shadow(0 0 30px #ffd700);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(0, 255, 225, 0.3);
    }
}

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

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

@keyframes borderGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}

@keyframes rotate3d {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes pulse {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.5;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hologram-container {
        width: 250px;
        height: 250px;
    }
    
    .hologram-pyramid {
        width: 150px;
        height: 150px;
    }
    
    .hologram-face {
        width: 150px;
        height: 150px;
    }
    
    .hologram-front {
        transform: rotateY(0deg) translateZ(75px);
    }
    
    .hologram-right {
        transform: rotateY(90deg) translateZ(75px);
    }
    
    .hologram-back {
        transform: rotateY(180deg) translateZ(75px);
    }
    
    .hologram-left {
        transform: rotateY(-90deg) translateZ(75px);
    }
    
    .hologram-top {
        transform: rotateX(90deg) translateZ(75px);
    }
    
    .hologram-bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .game-frame iframe {
        height: 60vh;
        min-height: 400px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .legal-text {
        padding: 30px 20px;
    }
    
    .disclaimer-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .disclaimer-title {
        font-size: 1.5rem;
    }
}