/* Reset and Base Styles */
html{
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Header and Navigation */
.morphing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #7b68ee;
}

@keyframes headerMorph {
    0%, 100% { 
        background: rgba(0, 0, 0, 0.9);
        border-bottom-color: #7b68ee;
    }
    25% { 
        background: rgba(26, 10, 46, 0.9);
        border-bottom-color: #ff77c6;
    }
    50% { 
        background: rgba(22, 33, 62, 0.9);
        border-bottom-color: #78dbff;
    }
    75% { 
        background: rgba(46, 10, 26, 0.9);
        border-bottom-color: #ffd700;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


.logo img{
    height: 80px;
    width: 100%;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px #7b68ee); }
    50% { filter: drop-shadow(0 0 20px #ff77c6); }
}

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

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

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.nav-links a:hover,
.nav-links a.active {
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.4);
}

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

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

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6, #78dbff, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.5);
}

.morphing-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(123, 104, 238, 0.3), rgba(255, 119, 198, 0.3));
    animation: shapeMorph 15s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes shapeMorph {
    0%, 100% { 
        border-radius: 50%;
        transform: rotate(0deg) scale(1);
    }
    25% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(90deg) scale(1.2);
    }
    50% { 
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg) scale(0.8);
    }
    75% { 
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        transform: rotate(270deg) scale(1.1);
    }
}

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

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-panel {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #7b68ee;
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.3);
}

.about-panel h3 {
    color: #ff77c6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #7b68ee, #ff77c6, #78dbff, #ffd700);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #7b68ee;
    box-shadow: 0 15px 40px rgba(123, 104, 238, 0.4);
}

.game-image {
    height: 150px;
    background: linear-gradient(135deg, #1a0a2e, #16213e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.game-placeholder {
    font-size: 3rem;
    opacity: 0.7;
}

.game-card h3 {
    color: #78dbff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.xp-requirement {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.play-button {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.5);
}

/* Dashboard Section */
.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.xp-bar-container h3,
.unlockables h3 {
    color: #78dbff;
    margin-bottom: 1rem;
}

.xp-bar {
    background: rgba(0, 0, 0, 0.5);
    height: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid #7b68ee;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b68ee, #ff77c6);
    border-radius: 15px;
    width: 25%;
    transition: width 0.5s ease;
    position: relative;
}

.xp-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: xpShine 2s infinite;
}

@keyframes xpShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.xp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

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

.unlock-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(123, 104, 238, 0.3);
    transition: all 0.3s ease;
}

.unlock-item.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.unlock-item:not(.locked):hover {
    transform: scale(1.05);
    border-color: #7b68ee;
}

.unlock-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #7b68ee, #ff77c6, #78dbff);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: #7b68ee;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid #ffffff;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123, 104, 238, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(123, 104, 238, 0); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    width: 45%;
    border: 1px solid rgba(123, 104, 238, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: #7b68ee;
}

.timeline-content h3 {
    color: #ff77c6;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #78dbff;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: rgba(123, 104, 238, 0.2);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
    opacity: 1;
}

/* Disclaimer Section */
.disclaimer-content {
    background: rgba(255, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #ff6b6b;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.disclaimer-content li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Footer */
.unique-footer {
    background: linear-gradient(135deg, #0a0a0a, #1a0a2e);
    padding: 3rem 0 1rem;
    border-top: 2px solid #7b68ee;
    margin-top: 4rem;
}

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

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #78dbff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #ff77c6;
    transform: translateY(-2px);
}

.footer-xp {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-xp-bar {
    width: 200px;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin: 0 auto 0.5rem;
    overflow: hidden;
}

.footer-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b68ee, #ff77c6);
    width: 60%;
    border-radius: 5px;
    animation: footerXPGlow 3s ease-in-out infinite;
}

@keyframes footerXPGlow {
    0%, 100% { box-shadow: 0 0 5px #7b68ee; }
    50% { box-shadow: 0 0 15px #ff77c6; }
}

.mystery-unlock {
    text-align: center;
    margin-bottom: 2rem;
    cursor: pointer;
    position: relative;
}

.mystery-revealed {
    display: none;
    color: #ffd700;
    font-weight: bold;
}

.mystery-unlock:hover .mystery-text {
    display: none;
}

.mystery-unlock:hover .mystery-revealed {
    display: inline;
    animation: mysteryReveal 0.5s ease-in-out;
}

@keyframes mysteryReveal {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(123, 104, 238, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Styles */
.contact-main {
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

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

.morphing-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #78dbff;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(123, 104, 238, 0.3);
    border-radius: 8px;
    color: white;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7b68ee;
    box-shadow: 0 0 10px rgba(123, 104, 238, 0.3);
    transform: scale(1.02);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.4);
}

.form-confirmation {
    display: none;
    background: rgba(0, 255, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #00ff00;
    text-align: center;
}

.form-confirmation.show {
    display: block;
    animation: confirmationSlide 0.5s ease-in-out;
}

@keyframes confirmationSlide {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.xp-reward {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #7b68ee;
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.3);
}

.info-card h3 {
    color: #ff77c6;
    margin-bottom: 1rem;
}

/* Terms Page Styles */
.terms-main {
    padding: 4rem 0;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(123, 104, 238, 0.3);
    overflow: hidden;
    transition: all 0.5s ease;
}

.terms-section.unlockable {
    opacity: 0.5;
    transform: translateY(20px);
}

.terms-section.unlocked {
    opacity: 1;
    transform: translateY(0);
    border-color: #7b68ee;
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.3);
}

.terms-section h2 {
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    padding: 1.5rem;
    margin: 0;
    color: white;
    font-size: 1.3rem;
}

.section-content {
    padding: 1.5rem;
}

.section-content ul {
    list-style: none;
    padding-left: 0;
}

.section-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.section-content li::before {
    content: '🔧';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.unlock-progress {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #ffd700;
}

.unlock-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.unlock-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b68ee, #ffd700);
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Privacy Page Styles */
.privacy-main {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: #7b68ee;
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.3);
}

.mutating-header {
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    padding: 1.5rem;
    margin: 0;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mutating-header:hover {
    background: linear-gradient(45deg, #ff77c6, #78dbff);
    transform: scale(1.02);
}

.privacy-commitment {
    background: rgba(0, 255, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #00ff88;
    text-align: center;
    margin-top: 2rem;
}

/* Game Page Styles */
.game-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.game-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    border-bottom: 2px solid #7b68ee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.back-button {
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.5);
}

.game-nav h1 {
    color: #78dbff;
    font-size: 1.8rem;
}

.game-xp {
    background: rgba(255, 215, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-weight: bold;
}

.game-main {
    padding: 2rem 0;
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    height: calc(100vh - 200px);
}

.game-frame {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #7b68ee;
    position: relative;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.xp-meter,
.social-log {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.xp-meter h3,
.social-log h3 {
    color: #78dbff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.session-xp-bar {
    background: rgba(0, 0, 0, 0.5);
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.session-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b68ee, #ffd700);
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.activity-feed {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    border-left: 3px solid #ff77c6;
    animation: activitySlide 0.5s ease-in-out;
}

@keyframes activitySlide {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.floating-controls {
    position: fixed;
    right: 2.5rem;
    top: 85%;
    transform: translateY(-10%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.control-btn {
    width: fit-content;
    height: fit-content;
    border-radius: 15px;
    background: linear-gradient(45deg, #7b68ee, #ff77c6);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .game-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .floating-controls {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin: 2rem 0;
        transform: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}