/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    /* Maru Gyan Purple Theme Gradient */
    background: linear-gradient(135deg, #6a0dad 0%, #9d46ff 100%);
    color: #333;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Main Container */
main {
    margin: 3rem auto;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Header & Navigation ===== */
header {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

nav a.active {
    color: #fff;
    background: linear-gradient(45deg, #6a0dad, #9d46ff);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3);
}

/* ===== Hero Section (Home) ===== */
.hero-section {
    background: linear-gradient(135deg, #6a0dad 0%, #4a0b7a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.15;
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 800;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    position: relative;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.play-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== Content Sections (About, Privacy, Terms) ===== */
.intro-text {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid #6a0dad;
    font-size: 1.05rem;
}

.about-grid, .privacy-grid, .terms-grid {
    display: grid;
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
}

.about-section, .privacy-section, .term-section {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section::before, .privacy-section::before, .term-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #6a0dad, #9d46ff);
}

.about-section:hover, .privacy-section:hover, .term-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 13, 173, 0.1);
}

.about-section h2, .privacy-section h2, .term-section h2 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.about-section h2::before, .privacy-section h2::before, .term-section h2::before {
    content: attr(data-number);
    background: linear-gradient(45deg, #6a0dad, #9d46ff);
    color: white;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.about-section ul, .privacy-section ul, .term-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.about-section li, .privacy-section li, .term-section li {
    margin-bottom: 0.5rem;
}

/* ===== Features & Data Cards ===== */
.features {
    padding: 3rem 2rem;
    text-align: center;
    background: #fff;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
    font-family: 'Montserrat', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card, .data-type-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover, .data-type-card:hover {
    border-color: #6a0dad;
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.1);
}

.feature-card h4, .data-type-card h4 {
    color: #6a0dad;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ===== Special Sections ===== */
.mission-section {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #6a0dad;
    margin: 2rem;
    text-align: center;
}
.mission-section h3 { color: #6a0dad; margin-bottom: 1rem; }

.developer-section {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #ffb74d;
    text-align: center;
    margin: 2rem;
}

.contact-section {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d8b4fe;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-email:hover {
    background: rgba(106, 13, 173, 0.5);
    color: #fff;
}

.third-party-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-link {
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 10px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    text-align: center;
}
.service-link:hover {
    background: #6a0dad;
    color: white;
}

.effective-date {
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    color: #6a0dad;
    background: #f3e5f5;
    margin: 0 2rem 2rem 2rem;
    border-radius: 10px;
}

/* ===== Footer & Back to Top ===== */
footer {
    background: rgba(30, 41, 59, 0.95);
    color: #cbd5e1;
    text-align: center;
    padding: 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(45deg, #6a0dad, #9d46ff);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.4);
    display: none;
    z-index: 999;
    font-size: 1.5rem;
}
.back-to-top:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    nav { justify-content: center; margin-top: 10px; }
    .hero-section h1 { font-size: 2rem; }
    .about-grid, .privacy-grid, .terms-grid { padding: 1rem; grid-template-columns: 1fr; }
    .mission-section, .contact-section, .developer-section, .effective-date { margin: 1rem; }
}