:root {
    --primary-color: #00ff8c;
    --secondary-color: #6c63ff;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
        --accent-color: #ff3366;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: 'Orbitron', sans-serif;
}

.navbar {
    padding: 1rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 255, 140, 0.1);
    box-shadow: 0 4px 30px rgba(0, 255, 140, 0.05);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 140, 0.3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0, 255, 140, 0.05);
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 140, 0.3);
    background: rgba(0, 255, 140, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 140, 0.5);
}

.nav-links a:hover::after {
    width: 80%;
}

/* New badge styling */
.new-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    top: 2px;
    right: -28px;
    animation: pulse 1.5s infinite;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 5;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 1rem 1rem 1rem 1rem;
    background: #0a0a0a;
    overflow: hidden;
}

.hero-content {
    max-width: 35%;
    position: relative;
    z-index: 2;
    padding-left: 5%;
    margin-top: -5%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-primary,
.cta-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-primary {
    background: var(--primary-color);
    color: var(--background-dark);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.video-tile {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: var(--background-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-tile:hover {
    transform: scale(1.02);
}

.game-container {
    position: absolute;
    top: 55%;
    right: 5%;
    transform: translateY(-50%);
    width: 56%;
    height: 0;
    padding-bottom: 31.5%;
    background: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
}

.game-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.ai-assistant-container {
    position: absolute;
    top: 5%;
    z-index: 3;
    transition: all 0.3s ease;
}

.ai-assistant-container.position-right {
    right: 4%;
}

.ai-assistant-container.position-left {
    left: 5%;
}

.overlay-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    overflow: hidden;
    opacity: 1;
    transition: all 0.3s ease;
}

.game-captions {
    position: relative;
    pointer-events: none;
    text-align: left;
    width: 300px;
}

.caption-position-left {
    left: -20px;
    top: 60px !important;
}

.caption-position-right {
    right: -10px;
    top: 55px !important;
    text-align: left;
}

.ai-assistant-container.position-right .game-captions {
    text-align: left;
}

.ai-assistant-container.position-left .game-captions {
    text-align: left;
}

.caption-text {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(0, 255, 140, 0.15);
    animation: captionFade 0.3s ease-in-out;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    line-height: 1.2;
}

.caption-text.active {
    display: inline-block;
}

.assistant-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.3rem;
    opacity: 0.9;
}

.tip-message {
    color: rgba(255, 255, 255, 0.9);
}

.outer-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    transition: all 0.5s ease;
}

.outer-container.scrolled-position {
    position: fixed;
    bottom: 30px;
    right: 30px;
    margin-top: 0;
    transform: scale(0.7);
    z-index: 1000;
}

.container {
    position: relative;
    height: 110px;
    width: 110px;
    background-color: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 4s linear infinite;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-playing .container span {
    animation: pulse-glow 2s ease-in-out infinite;
}

.audio-playing .container span:nth-of-type(1) {
    animation-delay: 0s;
    filter: blur(4px);
}

.audio-playing .container span:nth-of-type(2) {
    animation-delay: 0.5s;
    filter: blur(10px);
}

.audio-playing .container span:nth-of-type(3) {
    animation-delay: 1s;
    filter: blur(30px);
}

.audio-playing .container span:nth-of-type(4) {
    animation-delay: 1.5s;
    filter: blur(60px);
}

.container span {
    position: absolute;
    border-radius: 50%;
    height: 90%;
    width: 70%;
    background-color: var(--primary-color);
    background-image: linear-gradient(
        var(--primary-color),
        rgba(21, 187, 228, 0.881),
        rgba(58, 157, 238, 0.8)
    );
    transition: all 0.3s ease;
}

.container span:nth-of-type(1) {
    filter: blur(3px);
}

.container span:nth-of-type(2) {
    filter: blur(8px);
}

.container span:nth-of-type(3) {
    filter: blur(20px);
}
/* 
.container span:nth-of-type(4) {
    filter: blur(50px);
} */

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: var(--background-dark);
    border: solid 10px var(--background-dark);
    border-radius: 50%;
}

.logo-container {
    position: absolute;
    z-index: 10;
    animation: counter-rotate 4s linear infinite;
}

.loaderLogo {
    margin-top: 7px;
    width: 70px;
    height: auto;
    transition: all 0.3s ease;
}

.audio-playing .loaderLogo {
    animation: fade 2s ease-in-out infinite;
}

@keyframes fade {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.particle-container {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    animation: rotateContainer 10s linear infinite;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at center,
            transparent 0,
            transparent 2px,
            rgba(33, 156, 233, 0.73) 3px,
            transparent 4px);
    animation: particleWave 8s ease-in-out infinite;
    opacity: 0.45;
}

.particles:nth-child(1) {
    animation-delay: 0s;
    transform: rotate(0deg);
}

.particles:nth-child(2) {
    animation-delay: -2s;
    transform: rotate(90deg);
}

.particles:nth-child(3) {
    animation-delay: -4s;
    transform: rotate(180deg);
}

.particles:nth-child(4) {
    animation-delay: -6s;
    transform: rotate(270deg);
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.circle-text {
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--primary-color);
}

.dots-menu {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    z-index: 4;
    backdrop-filter: blur(4px);
}

.video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.video-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wave-container.speaking {
    opacity: 1;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(76, 175, 80, 0.1) 0%,
            rgba(76, 175, 80, 0.05) 45%,
            transparent 70%);
    animation: wave 2s infinite;
    opacity: 0;
}

.wave:nth-child(2) {
    animation-delay: 0.5s;
}

.wave:nth-child(3) {
    animation-delay: 1s;
}

@keyframes wave {
    0% {
        transform: scale(0.3);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Add JavaScript controlled class */
.speaking .wave {
    animation-play-state: running;
}

.not-speaking .wave {
    animation-play-state: paused;
}

.circle-pulse {
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: #4CAF50;
    margin-bottom: 4px;
    animation: pulse 2s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fireEffect {
    0% {
        transform: rotate(0deg) scale(1.1);
        opacity: 0.7;
    }

    33% {
        transform: rotate(120deg) scale(1.2);
        opacity: 0.8;
    }

    66% {
        transform: rotate(240deg) scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: rotate(360deg) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes particleWave {

    0%,
    100% {
        transform: scale(1) rotate(0);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.15;
    }
}

@keyframes rotateContainer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

@keyframes aura-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
}

@keyframes outer-ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
}

.features-demo {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.features-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gaming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.features-section {
    padding: 5rem;
    background: var(--background-light);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: var(--background-dark);
    border: 1px solid rgba(0, 255, 140, 0.1);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background: linear-gradient(145deg, rgba(13, 17, 23, 0.9), rgba(18, 24, 33, 0.8));
}

.flip-card-back {
    background: linear-gradient(145deg, rgba(18, 24, 33, 0.9), rgba(13, 17, 23, 0.8));
    transform: rotateY(180deg);
}

.flip-card-front i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.flip-card-front h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
}

.flip-card-back p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(13, 17, 23, 0.95);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.how-it-works-section {
    padding: 5rem;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.step {
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.join-section {
    padding: 5rem;
    background: var(--background-light);
}

.waitlist-form {
    max-width: 550px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(13, 17, 23, 0.95);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 140, 0.2);
    position: relative;
}

.waitlist-form::before {
    display: none;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.0rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 140, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--primary-color) 50%),
        linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.waitlist-form button {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 255, 140, 0.1);
    border: 1px solid rgba(0, 255, 140, 0.2);
    border-radius: 8px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.waitlist-form button:hover {
    background: rgba(0, 255, 140, 0.2);
}

.footer {
    background: var(--background-dark);
    padding: 3rem 5rem 1rem;
    z-index: 4;
    position: relative;
}

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

.footer-logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

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

.contact-link {
    position: relative;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.game-captions {
    position: absolute;
    top: 100px;
    width: 300px;
    z-index: 3;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: visible;
    /* Allow content to overflow */
    height: auto;
    /* Allow height to adjust to content */
    min-height: 100px;
    /* Provide minimum height to prevent layout shifts */
}

.game-captions.position-right {
    right: 200px;
    text-align: left;
}

.game-captions.position-left {
    left: 20px;
    text-align: left;
}

.caption-text {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 0.4rem 1rem;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(0, 255, 140, 0.15);
    animation: captionFade 0.3s ease-in-out;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    max-width: 100%;
    /* Ensure text doesn't overflow horizontally */
    word-wrap: break-word;
    /* Allow long words to break and wrap */
}

.caption-text.active {
    display: inline-block;
}

.assistant-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.3rem;
    opacity: 0.9;
}

.tip-message {
    color: rgba(255, 255, 255, 0.9);
}

.orb-section {
    padding: 30px 0;
    margin-top: 20px;
    /* Add space between navbar and orb section */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 255, 140, 0.1), rgba(0, 0, 0, 0.8));
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.orb-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 55px;
    height: 120px;
    /* Increased height for better spacing */
}

.gaming-orb {
    position: fixed;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gaming-orb.initial-position {
    position: static;
    width: 120px;
    height: 120px;
}

.gaming-orb.scrolled-position {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
}

.orb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-core {
    position: relative;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle at center, var(--primary-color) 30%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.orb-aura {
    position: absolute;
    width: 75%;
    height: 75%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.orb-outer-ring {
    position: absolute;
    width: 92%;
    height: 92%;
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.gaming-orb.playing .orb-outer-ring {
    border-color: var(--primary-color);
    opacity: 0.4;
    visibility: visible;
    animation: ring-pulse 2s infinite ease-in-out;
}

@keyframes ring-pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

.gaming-orb:hover .orb-wrapper {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* Instead of using vh for height, use calc to make sure the video is always visible */
        height: calc(100vh - 4rem);
    }

    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
        width: 500px;
        min-height: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .game-container {
        position: absolute;
        transform: translate(-50%, -50%);
        height: 180px;
        width: 320px;
        padding-bottom: 31.5%;
        background: var(--background-dark);
        border-radius: 10px;
        overflow: hidden;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .game-captions {
        position: absolute;
        top: 100px;
        width: 300px;
        z-index: 3;
        pointer-events: none;
        transition: all 0.3s ease;
        overflow: visible;
        height: auto;
        min-height: 100px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .overlay-circle {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }

    .circle-text {
        font-size: 5px;
    }

    .features-section,
    .how-it-works-section,
    .join-section {
        padding: 3rem 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        margin: 1rem 0;
    }

    .ai-assistant-container {
        top: 3%;
    }

    .ai-assistant-container.position-right {
        right: 2%;
    }

    .ai-assistant-container.position-left {
        left: 2%;
    }

    .overlay-circle {
        width: 40px;
        height: 40px;
    }

    .game-captions {
        width: 220px;
    }

    .caption-position-left {
        left: -10px;
        top: 45px !important;
    }

    .caption-position-right {
        right: -5px;
        top: 45px !important;
        text-align: left;
    }

    .caption-text {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        line-height: 1.1;
        margin-top: 0.4rem;
    }

    .assistant-name {
        font-size: 0.7rem;
    }

    .particle-container {
        width: 300%;
        height: 300%;
        top: -100%;
        left: -100%;
        transform: translate(0, 0);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
        width: 500px;
        min-height: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .game-container {
        position: absolute;
        transform: translate(-50%, -50%);
        height: 270px;
        width: 480px;
        padding-bottom: 31.5%;
        background: var(--background-dark);
        border-radius: 10px;
        overflow: hidden;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .game-captions {
        position: absolute;
        top: 100px;
        width: 300px;
        z-index: 3;
        pointer-events: none;
        transition: all 0.3s ease;
        overflow: visible;
        height: auto;
        min-height: 100px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .overlay-circle {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }

    .circle-text {
        font-size: 6px;
    }

    .features-section,
    .how-it-works-section,
    .join-section {
        padding: 3rem 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        margin: 1rem 0;
    }

    .ai-assistant-container {
        top: 4%;
    }

    .ai-assistant-container.position-right {
        right: 3%;
    }

    .ai-assistant-container.position-left {
        left: 3%;
    }

    .overlay-circle {
        width: 40px;
        height: 40px;
    }

    .game-captions {
        width: 220px;
    }

    .caption-position-left {
        left: -15px;
        top: 50px !important;
    }

    .caption-position-right {
        right: -8px;
        top: 50px !important;
    }

    .caption-text {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        line-height: 1.15;
        margin-top: 0.45rem;
    }

    .assistant-name {
        font-size: 0.75rem;
    }

    .particle-container {
        width: 175%;
        height: 175%;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}