* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700&display=swap');

body {
    font-family: 'Cinzel', serif;
    overflow: hidden;
    background: #0d0a08;
    color: #b8935c;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1410 0%, #0d0a08 70%);
    z-index: 0;
}

#particles {
    width: 100%;
    height: 100%;
    display: block;
}

/* Magic Circles */
.magic-circles-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 1;
}

.magic-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 15px rgba(184, 147, 92, 0.3));
}

.circle-1 {
    width: 500px;
    height: 500px;
    animation: rotate-slow 30s linear infinite;
}

.circle-2 {
    width: 350px;
    height: 350px;
    animation: rotate-medium 20s linear infinite reverse;
}

.circle-3 {
    width: 220px;
    height: 220px;
    animation: rotate-fast 15s linear infinite;
}

.rune {
    font-size: 20px;
    font-family: serif;
    fill: #b8935c;
    filter: drop-shadow(0 0 5px rgba(184, 147, 92, 0.5));
    animation: glow-pulse 2s ease-in-out infinite;
    dominant-baseline: middle;
}

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(184, 147, 92, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-medium {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-fast {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.7;
        filter: drop-shadow(0 0 5px rgba(184, 147, 92, 0.5));
    }
    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(184, 147, 92, 0.7));
    }
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 800px;
    margin-top: 350px;
}

.title-container {
    margin-bottom: 30px;
}

.title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 20px;
    color: #fff;
    text-shadow:
        0 0 10px rgba(184, 147, 92, 0.6),
        0 0 20px rgba(184, 147, 92, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.7));
}

.subtitle {
    font-size: 1.1rem;
    color: #aaa;
    letter-spacing: 4px;
    opacity: 0.8;
    font-weight: 400;
}


/* Info Panel - Art Deco Style */
.info-panel {
    background: #C7A249;
    clip-path: polygon(
        12px 0, calc(100% - 12px) 0,
        100% 12px, 100% calc(100% - 12px),
        calc(100% - 12px) 100%, 12px 100%,
        0 calc(100% - 12px), 0 12px
    );
    padding: 2px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.info-panel-inner {
    position: relative;
    background: #291E13;
    clip-path: polygon(
        11px 0, calc(100% - 11px) 0,
        100% 11px, 100% calc(100% - 11px),
        calc(100% - 11px) 100%, 11px 100%,
        0 calc(100% - 11px), 0 11px
    );
    padding: 23px 28px;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.6),
        inset 0 -2px 4px rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(184, 147, 92, 0.15);
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.value {
    color: #B5AB97;
    font-weight: 400;
}

/* Progress Bar - Art Deco Style */
.progress-container {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #aaa;
    letter-spacing: 1px;
}

.progress-bar-bg {
    position: relative;
    width: 100%;
    height: 30px;
    background: #C7A249;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0,
        100% 8px, 100% calc(100% - 8px),
        calc(100% - 8px) 100%, 8px 100%,
        0 calc(100% - 8px), 0 8px
    );
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.progress-bar-bg::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #291E13;
    clip-path: polygon(
        7px 0, calc(100% - 7px) 0,
        100% 7px, 100% calc(100% - 7px),
        calc(100% - 7px) 100%, 7px 100%,
        0 calc(100% - 7px), 0 7px
    );
    z-index: 0;
}

.progress-bar,
.progress-glow {
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    z-index: 1;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #C7A249;
    transition: width 0.3s ease;
    clip-path: polygon(
        7px 0, calc(100% - 1px) 0,
        100% 1px, 100% calc(100% - 1px),
        calc(100% - 1px) 100%, 7px 100%,
        0 calc(100% - 7px), 0 7px
    );
}

.progress-glow {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Download Info - Art Deco Frames */
.download-info {
    display: flex;
    justify-content: space-around;
    gap: 25px;
}

.download-item {
    background: #C7A249;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0,
        100% 8px, 100% calc(100% - 8px),
        calc(100% - 8px) 100%, 8px 100%,
        0 calc(100% - 8px), 0 8px
    );
    padding: 2px;
    flex: 1;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.download-item::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #291E13;
    clip-path: polygon(
        7px 0, calc(100% - 7px) 0,
        100% 7px, 100% calc(100% - 7px),
        calc(100% - 7px) 100%, 7px 100%,
        0 calc(100% - 7px), 0 7px
    );
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.download-label,
.download-value {
    position: relative;
    z-index: 1;
}


.download-label {
    color: #B5AB97;
    font-size: 0.85rem;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.download-value {
    color: #B5AB97;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .magic-circles-container {
        width: 400px;
        height: 400px;
    }

    .circle-1 { width: 350px; height: 350px; }
    .circle-2 { width: 250px; height: 250px; }
    .circle-3 { width: 150px; height: 150px; }

    .title {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }

    .content {
        margin-top: 250px;
    }

    .download-info {
        flex-direction: column;
    }
}
