:root {
    --primary-color: #2c2c2e;
    --secondary-color: #636366;
    --text-color: #2c2c2e;
    --background-color: #fafafa;
    --accent-color: #8e8e93;
    --card-background: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --spacing-unit: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c2c2e;
    background-color: var(--background-color);
    line-height: 1.5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-color);
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

main {
    position: relative;
    z-index: 2;
}

section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.work-section, .about-section, .contact-section {
    background-color: #ffffff;
    border-radius: 20px;
    margin: 40px auto;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #2c2c2e;
}

.work-section h2, .about-section h2, .contact-section h2 {
    color: #2c2c2e;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
}

.work-section p, .about-section p, .contact-section p {
    color: #636366;
    line-height: 1.5;
    font-size: 16px;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-content {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    font-size: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content .subtitle {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main content sections */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #2c2c2e;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px var(--card-shadow);
}

.project-image {
    height: 200px;
    background: #f2f2f7;
    border-radius: 12px;
    margin-bottom: 0;
    background-size: cover;
    background-position: center;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #2c2c2e;
}

.project-card p {
    color: #636366;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 15px;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.play-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #4285F4;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: fit-content;
}

.play-store-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

.app-store-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 30px;
    color: #636366;
    font-size: 13px;
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #000000;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.contact-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-section {
    text-align: center;
    padding: 50px 20px;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: #636366;
    font-size: 16px;
    line-height: 1.5;
}

.about-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    margin: 40px auto;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #2c2c2e;
    max-width: 1200px;
}

.about-content {
    max-width: 1000px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #636366;
    font-size: 16px;
}

.about-section h2 {
    color: #2c2c2e;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content .subtitle {
        font-size: 18px;
    }
    
    section {
        padding: 80px 20px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        min-width: 200px;
        max-width: 300px;
        margin: 0 auto;
    }
}

.game-section {
    background-color: #ffffff;
    border-radius: 20px;
    margin: 100px auto 40px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #2c2c2e;
    max-width: 1200px;
}

.game-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.game-image {
    flex: 1;
    min-width: 100px;
    max-width: 300px;
}

.game-image video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.game-info {
    flex: 1;
}

.game-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c2c2e;
}

.game-description {
    font-size: 18px;
    line-height: 1.6;
    color: #636366;
    margin-bottom: 20px;
}

.game-challenge {
    font-size: 24px;
    font-weight: 600;
    color: #2c2c2e;
    margin: 20px 0;
    text-align: center;
}

.game-cta {
    font-size: 20px;
    font-weight: 500;
    color: #2c2c2e;
    margin-bottom: 30px;
    text-align: center;
}

.game-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-details {
    margin-top: 40px;
}

.game-details h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c2c2e;
}

.game-details p {
    color: #636366;
    line-height: 1.5;
    margin-bottom: 20px;
}

.game-details ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.game-details li {
    color: #636366;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.game-details li:before {
    content: "•";
    color: #2c2c2e;
    position: absolute;
    left: 0;
}

.privacy-link {
    color: #2c2c2e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #2c2c2e;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #636366;
    border-bottom-color: #636366;
}

@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
        text-align: center;
    }
    
    .game-image {
        min-width: 100px;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .game-info h1 {
        font-size: 28px;
    }
    
    .game-description {
        font-size: 16px;
    }
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-link:hover h3 {
    color: #636366;
}

.store-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-section {
    background-color: #ffffff;
    border-radius: 20px;
    margin: 100px auto 40px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #2c2c2e;
    max-width: 800px;
}

.privacy-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c2c2e;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #636366;
    margin-bottom: 40px;
    font-size: 14px;
}

.privacy-content {
    text-align: left;
}

.privacy-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #2c2c2e;
}

.privacy-content p {
    color: #636366;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.privacy-content li {
    color: #636366;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.privacy-content li:before {
    content: "•";
    color: #2c2c2e;
    position: absolute;
    left: 0;
}

.privacy-content a {
    color: #2c2c2e;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2e;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    color: #636366;
    border-bottom-color: #636366;
}

.privacy-content .agreement {
    margin-top: 40px;
    font-style: italic;
    text-align: center;
    color: #2c2c2e;
}

.privacy-content strong {
    color: #2c2c2e;
}

@media (max-width: 768px) {
    .privacy-section {
        margin: 80px 20px 40px;
    }
    
    .privacy-section h1 {
        font-size: 28px;
    }
    
    .privacy-content h2 {
        font-size: 22px;
    }
} 