/* Summonix.xyz - Mystical Magic Design */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a0dad;
    --secondary-color: #9370db;
    --accent-color: #da70d6;
    --dark-purple: #4b0082;
    --light-purple: #e6e6fa;
    --gold: #ffd700;
    --text-color: #2d1b69;
    --bg-gradient: linear-gradient(135deg, #f5f0ff 0%, #e8d5ff 100%);
}

body {
    font-family: 'Merriweather', serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, var(--dark-purple) 0%, var(--primary-color) 50%, var(--dark-purple) 100%);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: white;
    box-shadow: 0 0 25px rgba(218, 112, 214, 0.7);
    border: 3px solid var(--gold);
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Sidebar Layout */
.page-container {
    display: flex;
    max-width: 1300px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 2rem;
}

.sidebar {
    flex: 0 0 280px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(106, 13, 173, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.sidebar li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.main-content {
    flex: 1;
}

/* Main Content */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2.5rem;
    border-radius: 25px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(106, 13, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '✧';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    right: -50px;
    top: -50px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.15);
    border: 2px solid var(--light-purple);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.8rem;
}

.content-section h3 {
    color: var(--secondary-color);
    margin: 1.8rem 0 1rem;
    font-size: 1.6rem;
    font-family: 'Montserrat', sans-serif;
}

.content-section h4 {
    color: var(--primary-color);
    margin: 1.3rem 0 0.7rem;
    font-size: 1.3rem;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.85;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.content-section li {
    margin-bottom: 0.7rem;
}

/* Notice Boxes */
.notice-box {
    background: linear-gradient(135deg, var(--light-purple) 0%, #f8f4ff 100%);
    border-left: 5px solid var(--primary-color);
    padding: 1.8rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.15);
}

.notice-box.warning {
    background: linear-gradient(135deg, #ffe4f1 0%, #fff0f8 100%);
    border-left-color: #e91e63;
}

.notice-box.info {
    background: linear-gradient(135deg, #e1f5ff 0%, #f0f9ff 100%);
    border-left-color: #2196f3;
}

.notice-box h3 {
    color: var(--dark-purple);
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

/* Game Container */
.game-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2.5rem 0;
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.2);
    text-align: center;
    border: 3px solid var(--secondary-color);
}

.game-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 700px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(106, 13, 173, 0.25);
    margin: 0 auto;
    display: block;
}

/* Widget Grid */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
}

.widget {
    background: white;
    padding: 2.2rem;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.12);
    border: 2px solid var(--light-purple);
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(106, 13, 173, 0.25);
    border-color: var(--accent-color);
}

.widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--dark-purple) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 20px rgba(106, 13, 173, 0.3);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.footer-links a:hover {
    color: var(--gold);
    transform: scale(1.1);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.95) 0%, rgba(75, 0, 130, 0.98) 100%);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--gold);
}

.age-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
}

.age-modal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.15rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-button {
    padding: 1.1rem 2.8rem;
    border: none;
    border-radius: 25px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.age-button.yes {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.age-button.yes:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.5);
}

.age-button.no {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
}

.age-button.no:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--dark-purple) 100%);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.5);
    }

    nav ul.active {
        right: 0;
    }

    .page-container {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        flex: 1;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 1.8rem;
    }

    .game-frame {
        height: 500px;
    }

    .widget-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
