/**
 * Exodus Game-Specific Styles - THEME ONLY
 * Biblical theming for the Exodus game
 */

/* Main container customization with 2x font size */
.exodus {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
    color: #333;
    background-color: #f5f5f0;
    border: 0.2vh solid #ccc;
    border-radius: 1.5vh;
    box-shadow: 0 1vh 3vh rgba(0, 0, 0, 0.1);
    font-size: 3vh; /* 2x larger base font size */
}

/* Content panel styling */
.exodus-content {
    background: radial-gradient(circle at center, rgba(255, 252, 240, 0.5) 0%, rgba(245, 236, 203, 0.5) 100%);
    border-radius: 0;
    padding: 3vh 3vw !important;
    box-shadow: inset 0 0 3vh rgba(139, 69, 19, 0.1);
}

/* Stage title in Exodus theme - 2x larger font */
.exodus-content .stage-title {
    color: #8b4513;
    font-size: 5vh; /* 2x larger - was 28px */
    text-align: center;
    font-family: 'Palatino', serif;
    margin-bottom: 3vh;
    text-shadow: 0.2vh 0.2vh 0.4vh rgba(0, 0, 0, 0.2);
    border-bottom: 0.2vh solid rgba(139, 69, 19, 0.3);
    padding-bottom: 1.5vh;
}

/* Content styling - 2x larger font */
.exodus-stage-content {
    background-color: rgba(255, 252, 240, 0.9) !important;
    border-radius: 1vh;
    padding: 3vh 3vw;
    margin-top: 3vh;
    margin-bottom: 3vh;
    line-height: 1.6;
    font-size: 3vh; /* 2x larger - was 16px */
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    border: 0.2vh solid rgba(139, 69, 19, 0.2);
    position: relative;
    z-index: 2;
}

/* Add ancient-looking decorative elements - 2x larger */
.exodus-stage-content::before {
    content: "§";
    position: absolute;
    top: 1vh;
    left: 2vw;
    font-size: 4vh; /* 2x larger - was 20px */
    color: rgba(139, 69, 19, 0.3);
}

.exodus-stage-content::after {
    content: "§";
    position: absolute;
    bottom: 1vh;
    right: 2vw;
    font-size: 4vh; /* 2x larger - was 20px */
    color: rgba(139, 69, 19, 0.3);
}

/* Exodus-specific choices */
.exodus-choices {
    margin-top: 3vh;
}

.exodus-choices-list {
    border-top: 0.2vh solid rgba(139, 69, 19, 0.2);
    padding-top: 2vh;
}

/* Choice button styling - 2x larger font */
.exodus-choice-button {
    background-color: #a38566;
    color: #f4f1e6;
    border: 0.2vh solid #7d6549;
    border-radius: 0.8vh;
    padding: 2vh 4vw 2vh 6vw;
    font-size: 3vh; /* 2x larger - was 16px */
    margin-bottom: 1.5vh;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: left;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Palatino', serif;
}

.exodus-choice-button:before {
    content: "⟩";
    position: absolute;
    left: 2vw;
    opacity: 0.7;
    font-size: 3vh; /* 2x larger */
}

.exodus-choice-button:hover {
    background-color: #8a6d4f;
    transform: translateY(-0.4vh);
}

.exodus-choice-button:active {
    background-color: #725533;
    transform: translateY(0);
}

/* Control section styling */
.exodus-controls {
    background-color: rgba(121, 85, 72, 0.1);
    border-top: 0.2vh solid rgba(121, 85, 72, 0.3);
    border-radius: 0 0 1.5vh 1.5vh;
    padding: 2vh 0;
}

/* Resource display - 2x larger */
.exodus-stats {
    margin-bottom: 2vh;
    padding: 1.5vh 0;
    background-color: rgba(255, 252, 240, 0.7);
    border-bottom: 0.2vh solid rgba(121, 85, 72, 0.2);
    border-radius: 1.5vh 1.5vh 0 0;
}

.exodus-resource-display {
    background-color: rgba(255, 252, 240, 0.9);
    border: 0.2vh solid rgba(121, 85, 72, 0.4);
    border-radius: 0.8vh;
    padding: 1vh 2vw;
    margin-right: 0;
    font-size: 2.8vh; /* 2x larger - was 14px */
    transition: background-color 0.3s;
    box-shadow: 0 0.2vh 0.6vh rgba(0, 0, 0, 0.1);
    width: 6vw !important; /* 2x larger */
    height: 6vh !important; /* 2x larger */
}

.exodus-resource-display:hover {
    background-color: rgba(255, 252, 240, 1);
    box-shadow: 0 0.4vh 1vh rgba(0, 0, 0, 0.15);
}

.exodus-resource-display .resource-name {
    color: #8b4513;
    font-weight: bold;
    font-size: 2.8vh; /* 2x larger */
}

.exodus-resource-display .resource-value {
    color: #333;
    font-weight: bold;
    font-size: 3vh; /* 2x larger */
}

/* Resource feedback styling - 2x larger font */
.exodus-resource-feedback {
    margin-top: 3vh;
    padding: 2vh;
    border-top: 0.2vh dashed rgba(121, 85, 72, 0.4);
    background-color: rgba(255, 252, 240, 0.7);
    border-radius: 0 0 0.8vh 0.8vh;
    font-size: 3vh; /* 2x larger */
}

.exodus-resource-feedback h4 {
    color: #8b4513;
    margin-top: 0;
    margin-bottom: 1.5vh;
    font-size: 3.2vh; /* 2x larger - was 16px */
}

/* Scroll styling for the entire container */
.exodus-scroll {
    position: relative;
    border-radius: 0 !important;
    background-color: rgba(249, 246, 233, 0.8);
    box-shadow: 0 1vh 5vh rgba(0, 0, 0, 0.3);
    padding: 3vh 6vw !important;
    overflow: visible !important;
    animation: scroll-unroll 1.5s ease-out forwards;
    transform-origin: center;
}

/* Scroll wrapper to contain the handles that start centered */
.exodus-scroll::before,
.exodus-scroll::after {
    content: "";
    position: absolute;
    width: 5vw; /* 2x larger - was ~30px */
    height: 100%;
    top: 0;
    background: repeating-linear-gradient(
        to bottom,
        #9b7653,
        #8a6642 2vh, /* 2x larger */
        #9b7653 2vh, /* 2x larger */
        #8a6642 4vh  /* 2x larger */
    );
    border-radius: 3vh; /* 2x larger */
    box-shadow: 0 0 2vh rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Initial position for both handles is centered */
.exodus-scroll::before {
    left: 50%;
    margin-left: -2.5vw; /* 2x larger - was -15px */
    animation: handle-to-left 1.5s ease-out forwards;
}

.exodus-scroll::after {
    right: 50%;
    margin-right: -2.5vw; /* 2x larger - was -15px */
    animation: handle-to-right 1.5s ease-out forwards;
}

/* Handle animations - move to sides without spinning */
@keyframes handle-to-left {
    0% {
        left: 50%;
        margin-left: -2.5vw; /* 2x larger - was -15px */
    }
    100% {
        left: -2.5vw; /* 2x larger - was -15px */
        margin-left: 0;
    }
}

@keyframes handle-to-right {
    0% {
        right: 50%;
        margin-right: -2.5vw; /* 2x larger - was -15px */
    }
    100% {
        right: -2.5vw; /* 2x larger - was -15px */
        margin-right: 0;
    }
}

/* Adjustments for transparent content in Exodus game */
.transparent-bg.exodus-content {
    background-color: rgba(255, 252, 240, 0.4) !important;
}

.transparent-bg.exodus-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 252, 240, 0.1), rgba(255, 252, 240, 0.5));
    z-index: 0;
    border-radius: 1.5vh; /* 2x larger */
}

/* Add scroll texture and shadow effects */
.exodus-scroll::before, 
.exodus-scroll::after {
    box-shadow: inset 0 0 1vh rgba(0, 0, 0, 0.5), 0 0 2vh rgba(0, 0, 0, 0.3);
}

/* REMOVE ANY RESPONSIVE MEDIA QUERIES - everything should be fixed size relative to viewport */

/* Game stats fixed position but enlarged */
.game-stats {
    position: fixed !important;
}

/* Override any positioning with vh/vw units and 2x larger sizes */
.resource-display, 
.exodus-resource-display {
    width: 6vw !important; /* 2x larger */
    height: 6vw !important; /* 2x larger */
    font-size: 3vh !important; /* 2x larger */
}

.resource-icon,
.exodus-resource-icon {
    width: 6vw !important; /* 2x larger */
    height: 6vh !important; /* 2x larger */
}

.resource-value,
.exodus-resource-value {
    font-size: 3vh !important; /* 2x larger */
}
