/* SPRPG Main Styles - style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a202c;
    color: #e2e8f0;
    min-height: 100vh;
    min-width: 100vw;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
html {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1a202c;
}
.game-container {
    background-color: #2d3748;
    border-radius: 1rem;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    width: 100%;
    height: 99vh;
    min-height: 99vh;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}
.game-output {
    background-color: #1a202c;
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-height: 300px;
    height: 60%;
    overflow-y: auto;
    border: 1px solid #4a5568;
    line-height: 1.6;
}
.game-input-area .form-control {
    background-color: #4a5568;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    border: none;
    resize: vertical;
    min-height: 60px;
    max-height: 150px;
}
.btn-custom-main {
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    border: none;
}
.btn-custom-main:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    color: white;
}
.btn-custom-main:disabled {
    background: #4a5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-custom-secondary {
    background: linear-gradient(145deg, #5a67d8, #6b46c1);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    border: none;
}
.btn-custom-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    color: white;
}
.btn-custom-secondary:disabled {
    background: #4a5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-custom-utility {
    background: linear-gradient(145deg, #81e6d9, #38b2ac);
    color: #1a202c;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    border: none;
}
.btn-custom-utility:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    color: #1a202c;
}
.btn-custom-utility:disabled {
    background: #4a5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-dice {
    background: linear-gradient(145deg, #f0b72a, #e67e22);
    color: #1a202c;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
    border: none;
}
.btn-dice:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    color: #1a202c;
}
.btn-dice:disabled {
    background: #4a5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.loading-indicator {
    display: none;
    text-align: center;
    color: #a0aec0;
    margin-top: 1rem;
}
.game-output p { margin-bottom: 0.5rem; }
.game-output strong { color: #fed7aa; }
.game-output em { font-style: italic; color: #a3bffa; }
.game-output ul, .game-output ol { margin-left: 1.5rem; list-style-type: disc; }
.game-output pre {
    background-color: #2d3748;
    border-left: 4px solid #667eea;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    white-space: pre-wrap;
}
@media (max-width: 576px) {
    .game-container {
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        padding: 4px;
        border-radius: 0;
    }
    #centeredIcon.centered-icon, .centered-icon {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        margin-top: 6px;
        margin-bottom: 6px;
        border-radius: 8px;
        padding: 1px;
        display: block;
    }
    .game-output {
        padding: 0.5rem;
        min-height: 200px;
        max-height: 50%;
    }
    html, body {
        overflow: auto !important;
        height: auto !important;
    }
}
.modal-content {
    background-color: #2d3748;
    color: #e2e8f0;
    border-radius: 1rem;
}
.modal-header {
    border-bottom: 1px solid #4a5568;
}
.modal-title {
    color: #fed7aa;
}
.modal-body {
    color: #cbd5e0;
}
.modal-body h2 {
    color: #fed7aa;
}
.modal-body a {
    color: #81e6d9;
}
.modal-body a:hover {
    color: #38b2ac;
}
.modal-footer {
    border-top: 1px solid #4a5568;
}
.modal-header .btn-close {
    filter: invert(1);
}
.game-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}
.game-footer a {
    color: #81e6d9;
    text-decoration: none;
}
.game-footer a:hover {
    text-decoration: underline;
}
div.email > span:nth-child(2) {
    display: none;
}
.character-creation-area .form-control {
    margin-bottom: 0.75rem;
}
.grecaptcha-badge {
    visibility: hidden !important;
}
.centered-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 256px;
    height: 256px;
    opacity: 0.95;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: #2d3748;
    padding: 2px;
}
.floating-tip {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 9999;
    background: none;
    box-shadow: none;
}
