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

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #700d0d 0%, #064716 50%, #093d77 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

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

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    letter-spacing: 2px;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite alternate;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.nav-link::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;
}

.nav-link:hover::before {
    left: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://t3.ftcdn.net/jpg/09/82/84/46/360_F_982844620_UpCbImauSCcP0jjezk5zC1O6ibNmvVlF.jpg') center/cover;
    filter: brightness(0.3);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.ai-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.ai-avatar::before {
    content: '🤖';
    font-size: 3rem;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    opacity: 0.5;
    filter: blur(15px);
    animation: pulse 2s ease-in-out infinite alternate;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.button-trail {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

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

.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.digital-rain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #00ffff, transparent),
        radial-gradient(2px 2px at 40px 70px, #ff00ff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffff00, transparent);
    background-repeat: repeat;
    background-size: 100px 100px;
    animation: digitalRain 20s linear infinite;
    opacity: 0.3;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateX(10px);
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Games Preview Section */
.games-preview {
    padding: 6rem 0;
}

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

.game-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

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

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

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-card h3 {
    padding: 1rem;
    color: #00ffff;
    font-size: 1.3rem;
}

.game-card p {
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.games-cta {
    text-align: center;
}

.secondary-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: #00ffff;
    text-decoration: none;
    border: 2px solid #00ffff;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Games Page Styles */
.games-main {
    padding-top: 80px;
}

.games-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.games-collection {
    padding: 4rem 0;
}

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

.game-card-full {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
}

.game-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4);
}

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

.game-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

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

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

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.game-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    height: 90%;
    background: #000;
    border-radius: 20px;
    border: 2px solid #00ffff;
    overflow: hidden;
}

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

.modal-header h3 {
    color: #00ffff;
    font-size: 1.5rem;
}

.close-button {
    background: none;
    border: none;
    color: #ff00ff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #fff;
}

.modal-body {
    height: calc(100% - 80px);
}

#gameFrame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Page Styles */
.contact-main {
    padding-top: 80px;
}

.contact-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: #00ffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-content h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.info-content span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.support-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.support-hours h3 {
    color: #00ffff;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Policy Styles */
.policy-main {
    padding-top: 80px;
}

.policy-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.policy-content {
    padding: 4rem 0;
}

.policy-document {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.policy-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border-left: 4px solid #00ffff;
}

.policy-section h2 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.highlight-section {
    background: rgba(255, 255, 0, 0.1) !important;
    border-left-color: #ffff00 !important;
}

.critical-section {
    background: rgba(255, 0, 0, 0.1) !important;
    border-left-color: #ff0000 !important;
    border: 2px solid rgba(255, 0, 0, 0.3) !important;
}

.critical-text {
    color: #ffff00 !important;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.policy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    text-align: center;
}

.policy-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.policy-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 0;
    background: rgba(255, 0, 0, 0.05);
    border-top: 2px solid rgba(255, 0, 0, 0.2);
}

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

.disclaimer-title {
    color: #ffff00;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.8);
}

.disclaimer-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 0, 0.3);
}

.disclaimer-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlight {
    background: rgba(255, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 0.5);
    margin: 1rem 0;
}

.highlight strong {
    color: #ffff00;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 100%);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    margin-top: 4rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00ffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #00ffff;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

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

@keyframes textGlow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
    100% { text-shadow: 0 0 30px rgba(255, 0, 255, 0.8); }
}

@keyframes digitalRain {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100vh); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid-full {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        height: 85%;
        margin: 5% auto;
    }
    
    .policy-document {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .policy-document {
        padding: 1.5rem;
    }
}