:root {
    --fire-color: #ff6b6b;
    --water-color: #4fa8de;
    --earth-color: #68b984;
    --air-color: #c8d9eb;
}

body {
    font-family: 'Cinzel', serif;
    background: #1a1a1a;
    color: #ffffff;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero.webp');
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 20%, var(--fire-color) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, var(--water-color) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, var(--earth-color) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, var(--air-color) 0%, transparent 50%);
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.play-btn {
    background: linear-gradient(45deg, var(--fire-color), var(--water-color));
    border: none;
    padding: 15px 40px;
    font-size: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.play-btn:hover::before {
    left: 100%;
}

.element-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.fire-card { border-color: var(--fire-color); }
.water-card { border-color: var(--water-color); }
.earth-card { border-color: var(--earth-color); }
.air-card { border-color: var(--air-color); }

.magical-section {
    position: relative;
    background: #2a2a2a;
    padding: 80px 0;
}

.magical-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
    var(--fire-color),
    var(--water-color),
    var(--earth-color),
    var(--air-color)
    );
}

.spell-list {
    list-style: none;
    padding: 0;
}

.spell-list li {
    padding: 10px 20px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--fire-color);
    transition: all 0.3s;
}

.spell-list li:nth-child(2n) {
    border-left-color: var(--water-color);
}

.spell-list li:nth-child(3n) {
    border-left-color: var(--earth-color);
}

.spell-list li:nth-child(4n) {
    border-left-color: var(--air-color);
}

.magic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.elemental-path {
    position: relative;
    padding: 30px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.path-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fire-color);
    margin: 0 auto 20px;
    transition: transform 0.3s;
}

.path-marker:hover {
    transform: scale(1.2);
}

/* CSS */
.magical-footer {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.mystical-title {
    color: #fff;
    font-family: 'Cinzel', serif;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.mystical-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
    #ff6b6b,
    #4fa8de,
    #68b984,
    #c8d9eb
    );
}

.magical-footer-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.magical-footer-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-age-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.footer-symbol {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.1;
    pointer-events: none;
}

.fire-rune {
    background: #ff6b6b;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: glow 3s infinite alternate;
}

.water-rune {
    background: #4fa8de;
    clip-path: circle(50% at 50% 50%);
    animation: glow 4s infinite alternate;
}

.earth-rune {
    background: #68b984;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: glow 5s infinite alternate;
}

.air-rune {
    background: #c8d9eb;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: glow 6s infinite alternate;
}

@keyframes glow {
    from {
        opacity: 0.1;
        transform: scale(1);
    }
    to {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
    }

    .mystical-title {
        text-align: center;
        width: 100%;
    }
}

/* CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-icon {
    width: 80px;
    height: 80px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn {
    background: #4a2c82;
    color: white;
}

.confirm-btn:hover {
    background: #6f42c1;
}

.decline-btn {
    background: #dc3545;
    color: white;
}

.decline-btn:hover {
    background: #bb2d3b;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: white;
    padding: 15px;
    transition: bottom 0.3s;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    background: #4a2c82;
    transition: all 0.3s;
}

.cookie-btn:hover {
    background: #6f42c1;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* CSS */
.play-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.magical-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 20%, #ff6b6b22 0%, transparent 10%),
            radial-gradient(circle at 80% 80%, #4fa8de22 0%, transparent 10%),
            radial-gradient(circle at 20% 80%, #68b98422 0%, transparent 10%),
            radial-gradient(circle at 80% 20%, #c8d9eb22 0%, transparent 10%);
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.play-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.magical-circle {
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    position: relative;
}

.circle-inner {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    animation: rotateCircle 20s linear infinite;
}

.element-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.fire {
    top: 0;
    left: 50%;
    background: radial-gradient(circle at center, #ff6b6b, transparent);
    box-shadow: 0 0 20px #ff6b6b;
}

.water {
    top: 50%;
    right: 0;
    background: radial-gradient(circle at center, #4fa8de, transparent);
    box-shadow: 0 0 20px #4fa8de;
}

.earth {
    bottom: 0;
    left: 50%;
    background: radial-gradient(circle at center, #68b984, transparent);
    box-shadow: 0 0 20px #68b984;
}

.air {
    top: 50%;
    left: 0;
    background: radial-gradient(circle at center, #c8d9eb, transparent);
    box-shadow: 0 0 20px #c8d9eb;
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.magical-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.magical-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.play-button-wrapper {
    position: relative;
    display: inline-block;
}

.magical-button {
    position: relative;
    display: inline-block;
    padding: 20px 60px;
    text-decoration: none;
    transform-style: preserve-3d;
    transform: perspective(800px);
    transition: transform 0.3s ease;
}

.magical-button:hover {
    transform: perspective(800px) translateY(-5px);
}

.button-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
    #ff6b6b33,
    #4fa8de33,
    #68b98433,
    #c8d9eb33
    );
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.magical-button:hover .button-bg {
    background: linear-gradient(45deg,
    #ff6b6b66,
    #4fa8de66,
    #68b98466,
    #c8d9eb66
    );
}

.button-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.button-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Cinzel', serif;
}

.button-glows {
    position: absolute;
    width: 100%;
    height: 100%;
}

.glow-1, .glow-2, .glow-3 {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    filter: blur(20px);
    opacity: 0;
    animation: glowFloat 3s infinite;
}

.glow-1 { animation-delay: 0s; }
.glow-2 { animation-delay: 1s; }
.glow-3 { animation-delay: 2s; }

@keyframes glowFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(100px, -100px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .magical-circle {
        width: 200px;
        height: 200px;
    }

    .magical-title {
        font-size: 2.5rem;
    }

    .magical-button {
        padding: 15px 40px;
    }

    .button-text {
        font-size: 1.2rem;
    }
}
body {
    font-family: 'Cuprum', sans-serif;
}

/* Hover effect for links */
a.hover-effect {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a.hover-effect:hover {
    color: #ff5722;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.7);
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
