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

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

body {
    font-family: 'Philosopher', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #d4af37;
    min-height: 100vh;
    overflow-x: hidden;
}

.temple-container {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
}

/* Header Styles */
.temple-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #d4af37;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.temple-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pyramid {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: pyramidGlow 3s ease-in-out infinite alternate;
}

@keyframes pyramidGlow {
    0% { box-shadow: 0 0 10px #d4af37; }
    100% { box-shadow: 0 0 30px #ffd700, 0 0 40px #d4af37; }
}

.temple-logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.subtitle {
    font-size: 0.8rem;
    color: #8a2be2;
    font-style: italic;
}

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

.nav-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
.temple-main {
    padding-top: 100px;
}

/* Hero Section */
.hero-chamber {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), rgba(138, 43, 226, 0.1));
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
}

.ancient-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #d4af37, #ffd700, #8a2be2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.mystical-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #c9b037;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(201, 176, 55, 0.3);
}

.enter-temple-btn {
    position: relative;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid #d4af37;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.enter-temple-btn:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    transition: left 0.5s ease;
}

.enter-temple-btn:hover .btn-glow {
    left: 100%;
}

.temple-columns {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.column {
    position: absolute;
    width: 60px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(212, 175, 55, 0.2) 50%,
        rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.column-left {
    left: 5%;
    transform: skewY(-2deg);
}

.column-right {
    right: 5%;
    transform: skewY(2deg);
}

/* Games Section */
.games-chamber {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.chamber-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hieroglyph-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #8a2be2, #d4af37, transparent);
    margin: 0 auto;
    position: relative;
}

.hieroglyph-divider::before,
.hieroglyph-divider::after {
    content: '◊';
    position: absolute;
    top: -8px;
    font-size: 1.2rem;
    color: #d4af37;
}

.hieroglyph-divider::before { left: -20px; }
.hieroglyph-divider::after { right: -20px; }

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

.game-altar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-altar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-altar:hover::before {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-altar:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.slots-icon {
    background: radial-gradient(circle, #d4af37, #b8860b);
    border: 3px solid #ffd700;
}

.poker-icon {
    background: radial-gradient(circle, #8a2be2, #4b0082);
    border: 3px solid #9370db;
}

.blackjack-icon {
    background: radial-gradient(circle, #dc143c, #8b0000);
    border: 3px solid #ff6347;
}

.game-altar h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.game-altar p {
    color: #c9b037;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.play-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.play-btn:hover {
    background: linear-gradient(45deg, #ffd700, #ffef94);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

.view-all-games {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, #8a2be2, #9370db);
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    background: linear-gradient(45deg, #9370db, #ba55d3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.5);
    border-color: #ffd700;
}

.view-all-btn span:first-child,
.view-all-btn span:last-child {
    font-size: 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.view-all-btn span:last-child {
    animation-delay: 1s;
}

/* Treasures Section */
.treasures-chamber {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(26, 26, 46, 0.3));
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.treasure-display {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.treasure-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #8a2be2;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.treasure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.treasure-item {
    position: relative;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(138, 43, 226, 0.1));
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 15px;
    padding: 2rem;
    overflow: hidden;
}

.treasure-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

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

.treasure-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    position: relative;
    z-index: 2;
}

.treasure-type {
    display: block;
    font-size: 1rem;
    color: #8a2be2;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Footer */
.temple-footer {
    background: linear-gradient(135deg, #000, #1a1a2e);
    border-top: 2px solid #d4af37;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.temple-seal {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border: 3px solid #d4af37;
    border-radius: 50%;
    position: relative;
    animation: sealRotate 20s linear infinite;
}

.seal-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #d4af37, #8a2be2);
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes sealRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disclaimer {
    color: #8a8a8a;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.age-disclaimer {
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: 600;
    max-width: 600px;
    margin: 1rem auto 0;
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .temple-nav {
        gap: 1rem;
    }

    .ancient-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
