/* Landing Page Styles */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: auto; /* Allow vertical scroll */
}

#landingPage {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10000;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    overflow-y: auto;
}

.landing-container {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-logo {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.connect-wallet-section {
    margin: 40px 0;
}

.connect-wallet-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.connect-wallet-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.connect-wallet-btn:active {
    transform: translateY(-2px);
}

.connect-wallet-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wallet-status {
    margin-top: 20px;
    font-size: 18px;
    opacity: 0.8;
}

.wallet-address {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 10px;
    display: inline-block;
}

/* Staking UI - Full Screen */
#stakingPage {
    display: none;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 20px;
    position: relative;
    z-index: 10001;
    overflow-y: auto;
    overflow-x: hidden;
}

.staking-container {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.staking-header-large {
    text-align: center;
    margin-bottom: 40px;
}

.staking-header-large h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.staking-header-large p {
    font-size: 20px;
    opacity: 0.9;
}

.staking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.staking-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.staking-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.staking-card .value {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
    color: #4CAF50;
}

.staking-card .label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staking-actions-full {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.action-group-full {
    margin-bottom: 30px;
}

.action-group-full label {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.input-group-full {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group-full input {
    flex: 1;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.input-group-full input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group-full .suffix {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.action-btn-full {
    width: 100%;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stake-btn-full {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.unstake-btn-full {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    color: white;
}

.claim-btn-full {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.action-btn-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.action-btn-full:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.start-game-section {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.start-game-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 25px 60px;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.start-game-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.start-game-btn:active {
    transform: translateY(-2px);
}

/* Game Container - Hidden Initially */
#gameContainer {
    display: none;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
    background: #000;
}

#gameContainer .wrapper {
    width: 100%;
    height: 100%;
}

#gameContainer canvas {
    display: block;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .game-logo {
        font-size: 48px;
    }
    
    .game-subtitle {
        font-size: 18px;
    }
    
    .connect-wallet-btn {
        padding: 15px 30px;
        font-size: 18px;
    }
    
    .staking-grid {
        grid-template-columns: 1fr;
    }
    
    .staking-header-large h1 {
        font-size: 32px;
    }
}

