/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Centered sections for index page */
.centered-section {
    text-align: center;
}

.centered-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-section h2 {
    text-align: center;
}

.centered-section .about-content,
.centered-section .education-content,
.centered-section .community-content {
    max-width: 1000px;
    width: 100%;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.back-link {
    color: white;
    text-decoration: none;
    margin-left: auto;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.3);
}

.back-link:hover {
    background: rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 600;
}

section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #34495e;
    font-weight: 600;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Investment Section */
.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.investment-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.investment-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    margin-bottom: 20px;
}

.investment-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.investment-card p {
    color: #666;
    line-height: 1.6;
}

/* Education Section */
.education {
    background-color: #f8f9fa;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.education-text ul {
    list-style: none;
    padding: 0;
}

.education-text li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.education-image img {
    width: 100%;
    height: 280px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

.education-text ul {
    list-style: none;
    padding: 0;
}

.education-text li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.education-text li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4ECDC4;
}

/* Game Jam Section */
.gamejam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gamejam-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}

.gamejam-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.gamejam-card .placeholder-image {
    margin: 0;
    border-radius: 0;
    border: none;
    min-height: 180px;
}

.gamejam-card img {
    width: 100%;
    height: 200px;
    border-radius: 15px 15px 0 0;
    box-shadow: none;
    object-fit: cover;
}

.gamejam-card h3,
.gamejam-card p {
    padding: 0 20px;
}

.gamejam-card h3 {
    padding-top: 20px;
    margin-bottom: 10px;
}

.gamejam-card p {
    padding-bottom: 20px;
    color: #666;
}

/* Community Section */
.community {
    background-color: #f8f9fa;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.community-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.community-image img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4ECDC4;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Hero Image Styles */
.hero-image img {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ECDC4;
    margin-bottom: 15px;
}

.service-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    background: linear-gradient(135deg, #45B7D1, #4ECDC4);
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.contact-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}


.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image img,
    .about-image img,
    .education-image img,
    .community-image img {
        height: 200px;
    }
    
    .gamejam-card img {
        height: 180px;
    }
    
    .hero-content,
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content,
    .education-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-image img,
    .about-image img,
    .education-image img,
    .community-image img {
        height: 180px;
    }
    
    .gamejam-card img {
        height: 160px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .investment-grid,
    .services-grid,
    .gamejam-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-card,
    .service-card,
    .contact-item {
        padding: 20px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 25px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #4ECDC4;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ECDC4;
}

.cookie-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    color: white;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.3);
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #45B7D1, #4ECDC4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.cookie-btn.reject {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.cookie-btn.reject:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.cookie-btn.customize {
    background: linear-gradient(135deg, #FF6B35, #f5576c);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.cookie-btn.customize:hover {
    background: linear-gradient(135deg, #f5576c, #FF6B35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cookie-link {
    color: #4ECDC4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 10px;
}

.cookie-link:hover {
    text-decoration: underline;
    color: #45B7D1;
}

/* Cookie Customization Panel */
.cookie-customization {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cookie-customization h4 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ECDC4;
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-option {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: #4ECDC4;
}

.cookie-option-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: white;
}

.cookie-option-desc {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
}

.cookie-custom-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
        gap: 8px;
    }
    
    .cookie-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-link {
        font-size: 0.85rem;
    }
}