/* The Parrot Spin - Tropical Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff6b35;
    --primary-yellow: #ffeb3b;
    --primary-green: #4caf50;
    --primary-blue: #2196f3;
    --light-bg: #fff8e1;
    --dark-text: #2c3e50;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.parrot-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: swing 2s infinite ease-in-out;
}

@keyframes swing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.age-modal-content h2 {
    font-family: 'Pacifico', cursive;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.age-modal-content p {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.age-requirement {
    font-weight: 700;
    font-size: 20px !important;
}

.age-notice {
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 15px;
    margin-top: 20px;
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.age-btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-yes {
    background: var(--white);
    color: var(--primary-orange);
}

.age-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.age-no {
    background: #f44336;
    color: var(--white);
}

.age-no:hover {
    background: #d32f2f;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary-orange);
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Pacifico', cursive;
    font-size: 28px;
    color: var(--primary-orange);
}

.desktop-nav {
    display: flex;
    gap: 35px;
}

.desktop-nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    background: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
}

.mobile-menu a {
    display: block;
    padding: 18px 30px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--primary-orange);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #ff9a56 0%, #ffdb00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="70" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="90" cy="80" r="2.5" fill="rgba(255,255,255,0.2)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 72px;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary {
    display: inline-block;
    padding: 20px 50px;
    background: var(--white);
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    max-width: 100%;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-heading {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    text-align: center;
    color: var(--primary-orange);
    margin-bottom: 30px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555;
    line-height: 1.8;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-card.blue {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
    color: var(--white);
}

.info-card.orange {
    background: linear-gradient(135deg, #ff6b35, #ff9a56);
    color: var(--white);
}

.info-card.green {
    background: linear-gradient(135deg, #4caf50, #81c784);
    color: var(--white);
}

.card-emoji {
    font-size: 56px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Legal Banner */
.legal-banner {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 60px 0;
}

.legal-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--primary-orange);
    box-shadow: 0 10px 30px var(--shadow);
}

.legal-box h3 {
    font-family: 'Pacifico', cursive;
    font-size: 32px;
    color: var(--primary-orange);
    margin-bottom: 30px;
    text-align: center;
}

.legal-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.legal-item h4 {
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-item p {
    color: #555;
    line-height: 1.8;
}

/* Game Preview */
.game-preview {
    background: var(--white);
}

.game-description {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.game-showcase {
    max-width: 1000px;
    margin: 0 auto;
    border: 5px solid var(--primary-orange);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-play {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reason {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reason-number {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px var(--primary-orange);
    margin-bottom: 15px;
}

.reason h4 {
    font-size: 22px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 700;
}

.reason p {
    color: #666;
    line-height: 1.7;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-green), #81c784);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-large {
    display: inline-block;
    padding: 22px 60px;
    background: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button-large:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, var(--primary-blue), #64b5f6);
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}

.play-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 56px;
    margin-bottom: 15px;
}

.play-header p {
    font-size: 22px;
}

.game-instructions {
    padding: 50px 0;
}

.instructions-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.instructions-box h2 {
    font-family: 'Pacifico', cursive;
    font-size: 36px;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 40px;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instruction {
    text-align: center;
    padding: 20px;
}

.inst-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.instruction h4 {
    font-size: 20px;
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-weight: 700;
}

.instruction p {
    color: #666;
    line-height: 1.7;
}

.play-game-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
}

.game-container-play {
    max-width: 1400px;
    margin: 0 auto;
    border: 5px solid var(--primary-orange);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.game-iframe-full {
    width: 100%;
    height: 700px;
    border: none;
}

/* Legal Pages */
.legal-page-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.legal-page-section h1 {
    font-family: 'Pacifico', cursive;
    font-size: 56px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.updated-date {
    color: #888;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-document {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.legal-document h2 {
    font-size: 28px;
    color: var(--primary-orange);
    margin: 40px 0 20px;
    font-weight: 700;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.9;
}

.legal-document ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-document li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.8;
}

.warning-box {
    background: linear-gradient(135deg, #ff6b35, #ff9a56);
    padding: 30px;
    border-radius: 15px;
    color: var(--white);
    margin-bottom: 40px;
}

.warning-box h2 {
    color: var(--white) !important;
    margin-top: 0 !important;
}

.warning-box p {
    color: var(--white) !important;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .section-heading {
        font-size: 36px;
    }

    .game-frame {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

    .legal-document {
        padding: 30px 20px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .logo span {
        font-size: 20px;
    }

    .game-frame {
        height: 300px;
    }

    .game-iframe-full {
        height: 400px;
    }
}
