:root {
    --primary-color: #8B5CF6;
    --secondary-color: #3B82F6;
    --accent-color: #10B981;
    --background-color: #F9FAFB;
    --card-background: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --success-color: #34D399;
    --gradient-primary: linear-gradient(135deg, #8B5CF6, #A78BFA);
    --gradient-secondary: linear-gradient(135deg, #3B82F6, #60A5FA);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

/* Header & Navigation */
header {
    background-color: var(--card-background);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo img {
    height: 40px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 6rem auto 0;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    top: -100px;
    left: -100px;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    bottom: -50px;
    right: -50px;
    z-index: -1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    max-width: 400px;
    max-height: 600px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    opacity: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.btn:hover::before {
    transform: translateX(0);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.feature-card {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Games Section */
.games {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.games h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background-color: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.game-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.game-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* Download Section */
.download {
    background: var(--gradient-primary);
    padding: 6rem 2rem;
    text-align: center;
    margin: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    left: -150px;
}

.download::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -100px;
    right: -100px;
}

.download h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.download .btn {
    background-color: #FFFFFF;
    color: #8B5CF6;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFFFFF;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    opacity: 1;
}

.download .btn::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    animation: pulseBorder 2s infinite;
    z-index: -1;
}

@keyframes pulseBorder {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.download .btn span {
    color: #8B5CF6;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 1;
}

.download .btn svg {
    stroke: #8B5CF6;
    opacity: 1;
}

.download .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    background-color: var(--background-color);
}

.download .btn:hover span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--card-background);
    padding: 4rem 2rem 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-grid, .game-grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy & Terms Page Styling */
.privacy,
.terms {
    max-width: 1200px;
    margin: 8rem auto 4rem;
    padding: 2rem;
}

.privacy-page,
.terms-page {
    background-color: var(--card-background);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 120px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-page h2,
.terms-page h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    padding-top: 1.5rem;
}

.privacy-page h3,
.terms-page h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.privacy-page p,
.terms-page p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-page ul,
.terms-page ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style-position: inside;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-page li,
.terms-page li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.privacy-page a,
.terms-page a {
    color: var(--secondary-color);
    text-decoration: none;
}

.privacy-page a:hover,
.terms-page a:hover {
    text-decoration: underline;
}

.terms-page {
    color: var(--text-primary);
}

.terms-page h2 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-page section {
    margin-bottom: 2rem;
}

.terms-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.terms-page p {
    margin-bottom: 1rem;
}

.terms-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-page li {
    margin-bottom: 0.5rem;
}

.terms-page a {
    color: var(--secondary-color);
}

.terms-page a:hover {
    color: var(--primary-color);
} 