/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #f0f8ff;
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 50%, #e0f6ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Heavenly Background */
.heavenly-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(240, 248, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(240, 248, 255, 0.1) 75%, 
        rgba(255, 255, 255, 0.1) 100%);
    animation: cloudFloat 15s ease-in-out infinite;
}

.light-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%);
    animation: lightShine 10s ease-in-out infinite;
}

.floating-angels {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(240, 248, 255, 0.2), transparent),
                radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(240, 248, 255, 0.2), transparent),
                radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: angelFloat 12s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes lightShine {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes angelFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Header Styles */
.header {
    background: rgba(135, 206, 235, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #ffd700;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    animation: heavenlyPulse 3s ease-in-out infinite;
}

@keyframes heavenlyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    background: linear-gradient(45deg, #ffd700, #ffa500, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.tagline {
    color: #ffa500;
    font-size: 0.9rem;
    margin-left: 5px;
    font-weight: 400;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #f0f8ff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #ffd700, #ffa500, #ff8c00);
    color: #1a1a2e;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: badgeShine 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

@keyframes badgeShine {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 165, 0, 0.6); }
}

.hero-content h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffd700, #ffa500, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #e6f3ff;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.heavenly-notices {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.heavenly-notice {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    font-weight: 600;
    color: #ffd700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.heavenly-notice:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.notice-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Game Section */
.game-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #e6f3ff;
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.game-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    border: 3px solid rgba(255, 215, 0, 0.3);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 215, 0, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.feature-card h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.feature-card p {
    color: #e6f3ff;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Heavenly Info Section */
.heavenly-info {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
}

.info-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.info-content p {
    font-size: 1.2rem;
    color: #f0f8ff;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: rgba(135, 206, 235, 0.95);
    border-top: 3px solid #ffd700;
    padding: 4rem 0 2rem;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-section h4 {
    font-family: 'Dancing Script', cursive;
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #e6f3ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: #8a7a5a;
    font-size: 1rem;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #1a1a2e;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Modal Styles */
.modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 100%);
    margin: auto;
    padding: 3rem;
    border: 3px solid #ffd700;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: modalShine 3s ease-in-out infinite;
}

@keyframes modalShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.modal-header {
    margin-bottom: 1.5rem;
}

.heavenly-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: heavenlySpin 4s linear infinite;
}

@keyframes heavenlySpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-content h2 {
    font-family: 'Dancing Script', cursive;
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.modal-content p {
    color: #f0f8ff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-heavenly, .btn-leave {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-heavenly {
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #1a1a2e;
}

.btn-heavenly:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-leave {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-leave:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(135, 206, 235, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 3px solid #ffd700;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .heavenly-notices {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-text h1 {
        font-size: 2.5rem;
    }
}