:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a55eea;
    --text-color: #2d3436;
    --light-text: #ffffff;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --gradient-start: #6c5ce7;
    --gradient-end: #a55eea;
    --scrollbar-width: 10px;
    --scrollbar-track: rgba(108, 92, 231, 0.1);
    --scrollbar-thumb: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    margin: 0;
}

.parallax-wrapper {
    min-height: 100vh;
    overflow-x: hidden;
    perspective: 2px;
    position: relative;
    overflow-y: auto;
}

/* Newsletter and Contact sections should be inside parallax-wrapper */
#newsletter, #contact {
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background: rgba(108, 92, 231, 0.85);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(108, 92, 231, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(15deg);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.9;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--light-text);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

nav ul li a:hover::before {
    width: 70%;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-icon div {
    width: 25px;
    height: 2px;
    background-color: var(--light-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Header */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(108, 92, 231, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }

    nav ul li a::before {
        display: none;
    }

    nav ul li a:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: -80px; /* Offset the header height */
    padding-top: 80px; /* Add padding equal to header height */
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: 0; /* Reset any margin */
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--light-text);
}

.carousel-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideUp 1s ease;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: var(--light-text);
}

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff20"/></svg>') repeat;
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    color: var(--light-text);
    text-align: left;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideUp 1s ease;
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-devices {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device.iphone {
    width: 300px;
    animation: float 6s ease-in-out infinite;
}

.device.ipad {
    width: 400px;
    transform: translateX(50px) translateY(30px);
    animation: float 6s ease-in-out infinite reverse;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-text);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 1rem;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Featured Section */
.featured {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(165, 94, 234, 0.1));
    position: relative;
    overflow: hidden;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.featured::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.featured-grid {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    position: relative;
}

.featured-game.main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.featured-game.main:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.featured-game.main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-game.main:hover img {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 40%);
    color: var(--light-text);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.featured-game.main:hover .featured-content {
    transform: translateY(-10px);
}

.featured-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.featured-game-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.game-preview:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
}

.game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-preview:hover img {
    transform: scale(1.05);
}

.preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 40%);
    color: var(--light-text);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.game-preview:hover .preview-content {
    transform: translateY(-5px);
}

.preview-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-content .category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.game-preview:hover .category {
    opacity: 1;
    background: var(--secondary-color);
}

/* Featured Section Responsive */
@media (max-width: 1200px) {
    .featured {
        padding: 4rem 1.5rem;
    }

    .featured-content h3 {
        font-size: 1.8rem;
    }

    .featured-content p {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .featured-game.main {
        aspect-ratio: 16/10;
    }

    .featured-game-list {
        flex-direction: row;
        gap: 1.5rem;
    }

    .game-preview {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .featured {
        padding: 3rem 1rem;
    }

    .featured-content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .featured-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .featured-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .featured-game-list {
        flex-direction: column;
        gap: 1rem;
    }

    .game-preview {
        aspect-ratio: 16/9;
    }

    .preview-content {
        padding: 1.5rem 1rem 0.8rem;
    }

    .preview-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .featured {
        padding: 2rem 0.8rem;
    }

    .featured-game.main {
        aspect-ratio: 3/4;
    }

    .featured-content {
        padding: 1.5rem 1rem 1rem;
    }

    .featured-content h3 {
        font-size: 1.3rem;
    }

    .featured-content p {
        font-size: 0.85rem;
    }

    .game-preview {
        aspect-ratio: 3/4;
    }

    .preview-content h4 {
        font-size: 1rem;
    }

    .preview-content .category {
        padding: 0.2rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Games Section */
.games {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.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-platform {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    background-color: rgba(108, 92, 231, 0.05);
}

.game-platform i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.game-card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

.game-card p {
    padding: 0 1rem;
    margin: 0 0 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-top: auto;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f1c40f;
}

.category {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.app-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.app-store-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: var(--card-background);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.2rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games {
        padding: 4rem 1.5rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .games {
        padding: 3rem 1.5rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .game-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .games {
        padding: 2rem 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .game-card h3 {
        font-size: 1.1rem;
        padding: 0.8rem 0.8rem 0.4rem;
    }

    .game-card p {
        padding: 0 0.8rem;
        font-size: 0.85rem;
    }

    .game-platform {
        padding: 0.8rem;
    }

    .game-platform i {
        font-size: 1.2rem;
    }

    .game-meta {
        padding: 0.4rem 0.8rem;
    }

    .category {
        padding: 0.15rem 0.6rem;
        font-size: 0.8rem;
    }

    .app-store-link {
        margin: 0.8rem;
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .games {
        padding: 2rem 0.8rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-image {
        height: 160px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .game-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .game-card:hover {
        transform: translateY(-5px);
    }

    .game-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .category {
        align-self: flex-end;
    }
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.footer-section h3 i {
    font-size: 1.2em;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    opacity: 1;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.app-store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-badge i {
    font-size: 1.2em;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: var(--light-text);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method i {
    font-size: 2rem;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-method span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background-color: #2ecc71;
}

.notification.error {
    background-color: #e74c3c;
}

/* Game Preview Modal */
.game-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.game-preview-modal.closing {
    opacity: 0;
}

.modal-content {
    background-color: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.preview-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-color);
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Loading Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading {
    background: linear-gradient(90deg, 
        var(--card-background) 25%, 
        rgba(108, 92, 231, 0.1) 50%, 
        var(--card-background) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}

/* Custom Scrollbar Styles */
/* For Webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    background: var(--scrollbar-thumb);
    border-radius: 20px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--scrollbar-track);
}

/* Hide scrollbar for mobile devices while maintaining functionality */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
}

/* Enhanced Carousel Content Styles */
.carousel-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem 0;
    line-height: 1.6;
    opacity: 0.9;
}

.featured-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.highlight i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.highlight p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.category-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.category-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
}

.category-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.feature p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design for Carousel Content */
@media (max-width: 1024px) {
    .featured-highlights,
    .game-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .carousel-description {
        font-size: 1rem;
        margin: 1rem 0;
    }

    .featured-highlights,
    .game-categories,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight,
    .category-item,
    .feature {
        padding: 1.2rem;
    }

    .highlight i,
    .category-item i,
    .feature i {
        font-size: 1.8rem;
    }

    .highlight h3,
    .category-item h3,
    .feature h3 {
        font-size: 1.1rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 120px 2rem 4rem;
    background-color: var(--background-color);
    min-height: 100vh;
}

.privacy-policy .container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-policy h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-policy .last-updated {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.privacy-policy section {
    margin-bottom: 3rem;
}

.privacy-policy h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.privacy-policy h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.privacy-policy p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-policy ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-policy ul li {
    margin-bottom: 0.8rem;
}

.privacy-policy strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 100px 1rem 2rem;
    }

    .privacy-policy .container {
        padding: 2rem;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
    }

    .privacy-policy h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy .container {
        padding: 1.5rem;
    }

    .privacy-policy h1 {
        font-size: 1.8rem;
    }

    .privacy-policy h2 {
        font-size: 1.3rem;
    }

    .privacy-policy h3 {
        font-size: 1.1rem;
    }
} 