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

body {
    font-family: 'Cinzel', serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}
.logo-text {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffd700 20%, #8b5cf6 50%, #ffd700 80%);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 2.5s linear infinite;
    text-decoration: none;
    transition: transform 0.2s, text-shadow 0.2s;
    cursor: pointer;
    letter-spacing: 1px;
    display: inline-block;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: 0% center;
    }
}

.logo-text:hover {
    transform: scale(1.06) rotate(-1deg);
    text-shadow: 0 0 12px #ffd700, 0 0 24px #8b5cf6;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    animation: rotate 20s linear infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.logo-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 0.2;
}

.nav-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('/assets/banner.jpg') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.1));
    animation: shimmer 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8b5cf6, #ffd700, #8b5cf6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.button-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    border-radius: 50px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #ffd700, transparent);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(40, 20, 60, 0.9));
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mystical-orb {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.25), 0 2px 8px 0 rgba(0,0,0,0.15);
    border: 2px solid rgba(255, 215, 0, 0.18);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    background: linear-gradient(135deg, #8b5cf6 0%, #ffd700 100%);
    position: relative;
    z-index: 1;
}

.about-image img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 12px 40px 0 rgba(139, 92, 246, 0.35), 0 4px 16px 0 rgba(0,0,0,0.18);
    border-color: #ffd700;
}

.orb-inner {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8), rgba(255, 215, 0, 0.6));
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

.orb-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite;
}

.orb-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.8), transparent),
                radial-gradient(2px 2px at 40% 70%, rgba(139, 92, 246, 0.8), transparent),
                radial-gradient(1px 1px at 90% 40%, rgba(255, 215, 0, 0.6), transparent);
    animation: sparkle 4s ease-in-out infinite;
}

/* Features Section */
.features {
    background: rgba(10, 10, 20, 0.9);
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Games Section */
.games {
    background: linear-gradient(135deg, rgba(40, 20, 60, 0.9), rgba(20, 20, 30, 0.9));
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.conjure-button {
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel', serif;
}

.conjure-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Disclaimer Section */
.disclaimer {
    background: linear-gradient(135deg, rgba(60, 20, 20, 0.9), rgba(80, 40, 40, 0.9));
    padding: 4rem 0;
}

.pact-scroll {
    background: rgba(40, 20, 20, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.pact-scroll::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #8b5cf6, #ffd700);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

.pact-scroll h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.pact-scroll p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #8b5cf6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mystical-orb {
        width: 200px;
        height: 200px;
    }
    
    .orb-inner {
        width: 100px;
        height: 100px;
    }
    
    .orb-ring {
        width: 180px;
        height: 180px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}