/* Home Page */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

html {
    font-size: 1.2vw; 
    background-color: #000;
    font-family: 'Inter', sans-serif;
    color: #c48e3d;
    line-height: 1.8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3{
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 5%;
    z-index: 1000;
    background-color: rgba(26, 20, 15, 0.75);
    backdrop-filter: blur(1.5rem); 
    -webkit-backdrop-filter: blur(1.5rem);
}

#logo {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
}

#logo p {
    margin: 0;
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.inactive {
    color: #bfa37e;
    opacity: 0.8;
    position: relative;
    padding-bottom: 5px;
}

.inactive::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #c48e3d;
    transition: width 0.3s ease; 
}

.inactive:hover::after {
    width: 100%;
}

.inactive:hover {
    opacity: 1;
    color: #f2d2a9;
}

.active {
    background-color: #c48e3d;
    color: #000;
    padding: 0.6rem 1.8rem;
    border-radius: 5rem;
    font-weight: 700;
}

#main-content {
    padding-top: 15vh; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 10vw; 
}

#text {
    max-width: 60rem;
    margin-bottom: 3rem;
}

#intro {
    font-size: 5rem; 
    font-weight: 900;
    margin-bottom: 1rem;
    color: #f2d2a9;
}

#semi-intro {
    font-size: 2rem;
    font-weight: 400;
    color: #c48e3d;
    margin-bottom: 2rem;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0c097;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

button {
    background-color: #c48e3d;
    color: #000;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-bottom: 5rem;
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    background-color: #d6a354;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
[role="button"]:focus,
[role="button"]:focus-visible {
  outline: none;
}

#main-content > div:last-child {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

#main-content > div:last-child > div {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1.5rem;
    min-width: 15rem;
    border: 1px solid rgba(196, 142, 61, 0.2);
    backdrop-filter: blur(5px);
}

#main-content > div:last-child h4 {
    font-size: 2.5rem;
    color: #c48e3d;
    margin: 0;
}

#main-content > div:last-child p {
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;       
    width: 90vw;        
    margin: 4rem auto;  
}

.stat-card {
    text-decoration: none;
    color: inherit;
    flex: 1;
    max-width: 25rem; 
    display: flex;
}

.stat-card > div {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 2rem;
    width: 100%;
    border: 1px solid rgba(196, 142, 61, 0.2);
    backdrop-filter: blur(1rem);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-1rem); 
}

.stat-card:hover > div {
    background: rgba(196, 142, 61, 0.15);
    border-color: #c48e3d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-card h4 {
    font-size: 3rem;
    color: #c48e3d;
    margin: 0;
    font-weight: 800;
}

.stat-card p {
    font-size: 1.1rem;
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    opacity: 0.8;
}

/* Discovery Page */
#discovery-content {
    padding-top: 15vh;
    padding-bottom: 10vh;
}

.section-title {
    text-align: center;
    font-size: 4rem;
    color: #f2d2a9;
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    width: 2px;
    background: #c48e3d;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 0;
    width: 50%;
    position: relative;
    cursor: pointer;
}

.left {
    left: 0;
    padding-right: 3rem;
    text-align: right; 
}

.right {
    left: 50%;
    padding-left: 3rem;
    text-align: left; 
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #c48e3d;
    border-radius: 50%;
    top: 50%;
    z-index: 2;
    box-shadow: 0 0 10px #c48e3d;
}

.left .timeline-dot {
    right: -8px; 
    transform: translateY(-50%); 
}

.right .timeline-dot {
    left: -8px; 
    transform: translateY(-50%); 
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(196, 142, 61, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: #f2d2a9;
    background: rgba(196, 142, 61, 0.1);
}

.year-badge {
    display: inline-block;
    background: #c48e3d;
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1a140f;
    padding: 3rem;
    border-radius: 2rem;
    max-width: 500px;
    width: 85%;
    border: 1px solid #c48e3d;
    position: relative;
    color: #f2d2a9;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from { 
        transform: scale(0.8); opacity: 0; 
    }
    to {
        transform: scale(1); opacity: 1; 
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: #c48e3d;
}

.close-btn:hover {
    color: #fff; 
}

/* Geography page */
#map-section {
    padding-top: 15vh;
    text-align: center;
}

.map-title {
    font-size: 3.8rem;
    font-family: 'Trajan Pro', 'Palatino Linotype', Georgia, serif;
    color: #f2d2a9;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 40px rgba(196, 142, 61, 0.4);
}

.map-subtitle {
    color: #bfa37e;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    opacity: 0.85;
}

#map-wrapper {
    width: 85%;
    height: 70vh;
    margin: 0 auto;
    border: 1.5px solid rgba(196, 142, 61, 0.6);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(196, 142, 61, 0.15),
        0 0 60px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

#map-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 500;
}

#map {
    width: 100%;
    height: 100%;
    background: #1a140f;
}

.city-label {
    background: none;
    border: none;
}

.city-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b35;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.9);
    margin: 0 auto 3px auto;
}

.city-label span {
    font-family: 'Palatino Linotype', Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    background: rgba(255, 255, 255, 0.72);
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
    display: block;
    letter-spacing: 0.04em;
    backdrop-filter: blur(2px);
}

.river-label span {
    font-family: Georgia, serif;
    font-size: 10px;
    font-style: italic;
    color: #87ceeb;
    text-shadow: 0 1px 3px #000, 1px 1px 0 #000;
    white-space: nowrap;
}

.leaflet-tooltip {
    display: none !important;
}

.trade-container {
    padding-top: 12vh;
    padding-bottom: 10vh;
    text-align: center;
}

.trade-main-grid {
    display: grid;
    grid-template-columns: 40vw 48vw; 
    gap: 4vw;
    justify-content: center;
    margin-top: 5vh;
}

.economy-summary, .trade-map-visual {
    background: rgba(196, 142, 61, 0.05);
    border: 1px solid rgba(196, 142, 61, 0.2);
    border-radius: 2vh;
    padding: 4vh;
    text-align: left;
}

.economy-summary h2, .trade-map-visual h2, .colorful-graphs h2 {
    color: #c48e3d;
    font-size: 4vh;
    margin-bottom: 3vh;
}

.pillar-card {
    display: flex;
    align-items: center;
    margin-bottom: 3vh;
    padding: 2.5vh;
    background: rgba(0,0,0,0.3);
    border-radius: 1.5vh;
}

.pillar-card i {
    font-size: 5vh;
    color: #c48e3d;
    margin-right: 2vw;
}

.pillar-card h3 {
    color: #f2d2a9;
    font-size: 2.8vh;
    margin-bottom: 0.5vh;
}

.pillar-card p {
    color: #bfa37e;
    font-size: 2vh;
}

.colorful-graphs {
    margin-top: 5vh;
    padding-top: 3vh;
    border-top: 1px solid rgba(196, 142, 61, 0.2);
}

.graph-box {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bar-row .label {
    color: #f2d2a9;
    font-size: 2.2vh;
    width: 10vw;
    text-align: left;
}

.full-bar {
    flex-grow: 1;
    height: 3vh;
    background: rgba(255,255,255,0.1);
    border-radius: 1.5vh;
    overflow: hidden;
}

.bar {
    height: 100%;
    border-radius: 1.5vh;
}

.bar.green {
    background: #27ae60; 
}

.bar.red {
    background: #e74c3c; 
}

.graph-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 3vh;
    color: #bfa37e;
    font-size: 1.8vh;
}

.leg-item {
    display: flex;
    align-items: center;
    gap: 1vw;
}

.green-icon {
    color: #27ae60;
}

.red-icon {
    color: #e74c3c;
}

.trade-map-visual {
    text-align: center; 
}

.map-wrap {
    width: 100%;
    height: 65vh;
    border-radius: 2vh;
    overflow: hidden;
    border: 2px solid #c48e3d;
    margin-bottom: 3vh;
}

.map-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background: #fff; 
}

.map-caption {
    color: #f2d2a9;
    font-size: 2.2vh;
    line-height: 1.4;
    padding: 0 2vh;
}

.trade-footer-box {
    width: 80vw;
    margin: 6vh auto;
    background: rgba(196, 142, 61, 0.1);
    padding: 5vh;
    border-radius: 3vh;
    border: 1px solid #c48e3d;
}

.trade-footer-box h2 {
    color: #c48e3d;
    font-size: 4.5vh;
    margin-bottom: 2vh;
}

.trade-footer-box p {
    color: #f2d2a9;
    font-size: 2.8vh;
    line-height: 1.5; 
}

/* Architecture page */
.arch-container {
    padding-top: 12vh;
    padding-bottom: 5vh;
    text-align: center;
}

.page-title {
    font-size: 8vh; 
    color: #f2d2a9;
    margin-bottom: 1vh;
}

.page-desc {
    font-size: 3vh;
    color: #bfa37e;
    margin-bottom: 5vh;
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 28vw); 
    gap: 3vw;
    justify-content: center;
    padding: 0 5vw;
}

.arch-card {
    height: 45vh;
    position: relative;
    border-radius: 2vh;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(196, 142, 61, 0.3);
    transition: transform 0.4s ease;
}

.arch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.arch-card:hover {
    transform: translateY(-1vh);
    border-color: #c48e3d;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 3vh 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #f2d2a9;
}

.card-overlay h3 {
    font-size: 3.5vh;
    margin: 0; 
}
.card-overlay p {
    font-size: 2vh; 
    color: #c48e3d; 
}

.arch-footer-info {
    width: 80vw;
    margin: 6vh auto;
    padding: 4vh;
    background: rgba(196, 142, 61, 0.05);
    border-radius: 2vh;
    border: 1px solid rgba(196, 142, 61, 0.2);
}

.arch-footer-info h2 {
    color: #c48e3d; 
    font-size: 4vh; 
    margin-bottom: 2vh; 
}
.arch-footer-info p {
    color: #f2d2a9;
    font-size: 2.5vh;
    line-height: 1.6;
}

.smart-modal {
    width: 70vw;
    padding: 8vh;
}

#arch-details h2 {
    font-size: 6vh;
    color: #c48e3d;
    margin-bottom: 3vh;
}

#arch-details p {
    font-size: 3.5vh;
    line-height: 1.5;
    color: #f2d2a9;
}

/* Artifacts page */
.sources-section {
    margin-top: 10vh;
    padding: 0 5vw;
}

.source-group {
    margin-bottom: 8vh;
}

.source-heading {
    color: #c48e3d;
    font-size: 5vh;
    text-transform: uppercase;
    letter-spacing: 0.5vw;
    margin-bottom: 4vh;
    border-bottom: 1px solid rgba(196, 142, 61, 0.3);
    display: inline-block;
    padding-bottom: 1vh;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
}

.source-box {
    background: rgba(196, 142, 61, 0.08);
    border: 1px solid rgba(196, 142, 61, 0.4);
    padding: 4vh 2vw;
    border-radius: 1.5vh;
    transition: background 0.3s ease;
}

.source-box:hover {
    background: rgba(196, 142, 61, 0.15);
}

.source-box h3 {
    color: #f2d2a9;
    font-size: 3vh;
    margin-bottom: 2vh;
}

.source-box p {
    color: #bfa37e;
    font-size: 2.2vh;
    line-height: 1.5;
}

/* Sports page */
.top-ui{
    position:absolute;
    top:15px;
    width:100%;
    display:flex;
    justify-content:space-around;
    z-index:200;
    color:white;
    text-shadow:2px 2px black;
}

.health-box{
    margin-top:10vh;
    width:30%;
}

.health-box p{
    font-size:1.3rem;
    margin-bottom:8px;
}

.health-bar{
    width:100%;
    height:28px;
    background:#2b1a0f;
    border:4px solid #fff;
    border-radius:20px;
    overflow:hidden;
}

#playerHealth{
    width:100%;
    height:100%;
    border-radius:20px;

    background:
    linear-gradient(to right,
    #ffd166,
    #ff6b00);

    transition:.2s;
}

#aiHealth{
    width:100%;
    height:100%;
    border-radius:20px;

    background:
    linear-gradient(to right,
    #7fb3ff,
    #004cff);

    transition:.2s;
}

.score-box{
    margin-top:10vh;
    text-align:center;
}

#score{
    font-size:4rem;
    color:#fff3d4;
}

.game-world{
    width:100vw;
    height:100vh;
    position:relative;
    overflow:hidden;

    background:
    linear-gradient(to bottom,
    #f7c97b 0%,
    #d9984e 35%,
    #8b5a2b 35%,
    #5c3b1e 100%);
}

.sun{
    position:absolute;
    top:60px;
    right:90px;

    width:140px;
    height:140px;

    background:#ffcc33;
    border-radius:50%;

    box-shadow:
    0 0 60px #ffcc33,
    0 0 120px orange;
}

.temple{
    position:absolute;
    bottom:260px;
    left:50%;
    transform:translateX(-50%);

    width:520px;
    height:230px;

    background:#8d6740;

    border:10px solid #5c3b1e;

    border-radius:12px;

    box-shadow:0 0 40px rgba(0,0,0,.5);
}

.temple::before{
    content:"";

    position:absolute;

    top:-70px;
    left:70px;

    width:360px;
    height:80px;

    background:#a87946;

    clip-path:polygon(0 100%,50% 0,100% 100%);
}

.pillar{
    position:absolute;
    bottom:170px;

    width:80px;
    height:260px;

    background:#b3834f;

    border:8px solid #5c3b1e;

    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.pillar::before{
    content:"";

    position:absolute;

    top:-20px;
    left:-10px;

    width:84px;
    height:20px;

    background:#6b4423;
}

.pillar1{
    left:10%;
}

.pillar2{
    right:10%;
}

.fire{
    position:absolute;
    bottom:250px;

    width:40px;
    height:40px;

    border-radius:50%;

    background:orange;

    box-shadow:
    0 0 20px orange,
    0 0 50px red;

    animation:flicker .15s infinite alternate;
}

.fire1{
    left:28%;
}

.fire2{
    right:28%;
}

@keyframes flicker{
    from{
        transform:scale(1);
        opacity:.8;
    }

    to{
        transform:scale(1.25);
        opacity:1;
    }
}

.crowd{
    position:absolute;
    bottom:260px;
    width:100%;
    height:120px;

    background:
    repeating-radial-gradient(circle,
    #1a0f07 0 12px,
    transparent 12px 22px);

    opacity:.5;
}

.dust{
    position:absolute;
    inset:0;

    background:
    radial-gradient(circle,
    rgba(255,255,255,.08) 1px,
    transparent 1px);

    background-size:40px 40px;

    opacity:.2;

    animation:dustMove 10s linear infinite;
}

@keyframes dustMove{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-200px);
    }
}

.arena{
    position:absolute;

    bottom:70px;
    left:50%;

    transform:translateX(-50%);

    width:82%;
    height:240px;

    background:
    radial-gradient(circle at center,
    #d6a15f 0%,
    #b97838 100%);

    border:12px solid #5c3b1e;

    border-radius:30px;

    box-shadow:
    inset 0 0 40px rgba(0,0,0,.4),
    0 0 40px rgba(0,0,0,.7);
}

.fighter{
    position:absolute;

    bottom:20px;

    width:140px;
    height:190px;

    transition:left .08s linear;
}

.head{
    width:60px;
    height:60px;

    border-radius:50%;

    background:#c68642;

    position:absolute;

    top:0;
    left:40px;

    border:4px solid #2b1a0f;

    box-shadow:0 4px 10px rgba(0,0,0,.4);
}

.head::before{
    content:"";

    position:absolute;

    top:-8px;
    left:-6px;

    width:70px;
    height:24px;

    background:#d97706;

    border-radius:20px;
}

.head::after{
    content:"";

    position:absolute;

    top:22px;
    left:15px;

    width:30px;
    height:6px;

    background:black;

    border-radius:10px;
}

.body{
    width:80px;
    height:95px;

    position:absolute;

    top:58px;
    left:30px;

    border-radius:20px;

    border:4px solid #2b1a0f;
}

.player .body{
    background:#a83232;
}

.enemy .body{
    background:#2554a3;
}

.arm{
    width:18px;
    height:70px;

    background:#c68642;

    position:absolute;

    top:65px;

    border-radius:20px;

    animation:punch .25s infinite alternate;
}

.left-arm{
    left:8px;
}

.right-arm{
    right:8px;
}

.leg{
    width:22px;
    height:75px;

    background:#3b2a1f;

    position:absolute;

    bottom:0;

    border-radius:15px;
}

.left-leg{
    left:42px;
}

.right-leg{
    right:42px;
}

@keyframes punch{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(18deg);
    }
}

.controls{
    position:absolute;
    bottom:20px;
    width:100%;
    display:flex;
    justify-content:center;
    z-index:300;
}

#pushBtn{
    padding:22px 110px;

    font-size:42px;

    border:none;

    border-radius:20px;

    background:
    linear-gradient(to bottom,
    #ffb347,
    #ff5a00);

    color:white;

    font-weight:900;

    letter-spacing:3px;

    cursor:pointer;

    box-shadow:
    0 10px #8f2f00,
    0 0 30px rgba(255,90,0,.5);

    transition:.1s;
}

#pushBtn:hover{
    transform:scale(1.05);
}

#pushBtn:active{
    transform:translateY(5px);
    box-shadow:
    0 5px #8f2f00;
}

#message{
    position:absolute;

    top:42%;
    width:100%;

    text-align:center;

    font-size:6rem;

    color:white;

    text-shadow:
    0 0 20px black,
    4px 4px black;

    z-index:500;
}

.fall{
    transform:
    rotate(90deg)
    translateY(400px);

    opacity:0;

    transition:1s;
}

.shake{
    animation:shake .12s;
}

@keyframes shake{

    0%{
        transform:translateX(-50%) translateY(0);
    }

    25%{
        transform:translateX(-49%) translateY(-2px);
    }

    50%{
        transform:translateX(-51%) translateY(2px);
    }

    75%{
        transform:translateX(-49%) translateY(-1px);
    }

    100%{
        transform:translateX(-50%) translateY(0);
    }
}

/* Society Page */

.society-container {
    padding-top: 12vh;
    padding-bottom: 5vh;
    text-align: center;
}

.society-grid {
    display: grid;
    grid-template-columns: 48vw 42vw;
    gap: 3vw;
    justify-content: center;
    margin-top: 5vh;
}

.society-section {
    background: rgba(196, 142, 61, 0.05);
    border: 1px solid rgba(196, 142, 61, 0.2);
    border-radius: 2vh;
    padding: 4vh;
    text-align: left;
}

.section-title {
    color: #c48e3d;
    font-size: 4.5vh;
    margin-bottom: 2vh;
}

.section-title i {
    margin-right: 1vw;
}

.section-intro {
    color: #f2d2a9;
    font-size: 2.5vh;
    margin-bottom: 4vh;
    line-height: 1.4;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

.img-card {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 2vh;
    border-radius: 1.5vh;
    gap: 2vw;
}

.img-card img {
    width: 12vw;
    height: 18vh;
    object-fit: contain;
    border: 1px solid #c48e3d;
    background: #222;
}

.img-card p {
    color: #bfa37e;
    font-size: 2vh;
    line-height: 1.5;
}

.img-card strong {
    display: block;
    color: #f2d2a9;
    font-size: 2.2vh;
    margin-bottom: 0.5vh;
}

.gov-content {
    display: flex;
    flex-direction: column;
    gap: 2.5vh;
}

.gov-item {
    border-left: 4px solid #c48e3d;
    padding-left: 2vw;
    padding-bottom: 1vh;
}

.gov-item h3 {
    color: #f2d2a9;
    font-size: 3vh;
    margin-bottom: 1vh;
}

.gov-item p {
    color: #bfa37e;
    font-size: 2.2vh;
    line-height: 1.4;
}

/* Decline page */
.decline-container {
    padding-top: 12vh;
    padding-bottom: 10vh;
}

.page-title {
    text-align: center;
}

.page-desc {
    text-align: center;
}

.theory-main-grid {
    display: flex;
    flex-direction: column;
    gap: 8vh;
    align-items: center;
    margin-top: 6vh;
}

.theory-card {
    display: flex;
    width: 85vw;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(196, 142, 61, 0.2);
    border-radius: 2vh;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.theory-card:hover {
    border-color: #c48e3d;
}

.theory-img {
    width: 40vw;
    height: 40vh;
}

.theory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3) contrast(1.1);
}

.theory-info {
    padding: 5vh 4vw;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theory-info h2 {
    color: #c48e3d;
    font-size: 4.5vh;
    margin-bottom: 2vh;
    text-transform: uppercase;
}

.theory-info p {
    color: #f2d2a9;
    font-size: 2.8vh;
    line-height: 1.6;
}

.mystery-reveal {
    margin-top: 15vh;
    padding: 10vh 5vw;
    background: url('w1.jpeg');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.mystery-reveal::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
}

.mystery-content {
    position: relative;
    z-index: 2;
    max-width: 70vw;
    margin: 0 auto;
}

.mystery-content h2 {
    font-size: 7vh;
    color: #c48e3d;
    letter-spacing: 1vh;
    margin-bottom: 4vh;
}

.mystery-content p {
    font-size: 3.5vh;
    color: #bfa37e;
    font-style: italic;
    line-height: 1.5;
}

.mystery-quote {
    margin-top: 6vh;
    font-size: 4vh;
    color: #f2d2a9;
    font-weight: 900;
    text-transform: uppercase;
    border-top: 1px solid #c48e3d;
    padding-top: 3vh;
    display: inline-block;
}

.vote-section {
    width: 85vw;
    margin: 15vh auto 5vh auto;
    padding: 5vh 4vw;

    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(196,142,61,0.3);
    border-radius: 2vh;

    text-align: center;
    backdrop-filter: blur(5px);
}

.vote-section h1 {
    color: #c48e3d;
    font-size: 5vh;
    margin-bottom: 2vh;
    text-transform: uppercase;
}

.vote-section p {
    color: #f2d2a9;
    font-size: 2.7vh;
    margin-bottom: 5vh;
}

.vote-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vh;
}

.vote-options button {
    padding: 2vh 2vw;
    border: none;
    border-radius: 1vh;

    background: #c48e3d;
    color: black;

    font-size: 2.2vh;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.vote-options button:hover {
    background: #f2d2a9;
    transform: scale(1.05);
}

.results {
    margin-top: 6vh;
}

.results h2 {
    color: #c48e3d;
    margin-bottom: 3vh;
    font-size: 4vh;
}

.result-item {
    color: #f2d2a9;
    font-size: 2.5vh;
    margin: 1vh 0;
}

.vote-message {
    margin-top: 4vh;
    font-size: 2.8vh;
    color: #7CFC00;
    font-weight: bold;
}

.vote-options button:disabled {
    transform: none;
}
