* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a0e0e 0%, #2d1414 50%, #1a0e0e 100%);
    min-height: 100vh;
    color: #f4e4c1;
    overflow-x: hidden;
}

.container {
            max-width: 100%;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }

/* Effet de papier vintage */
.paper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,.03) 2px,
            rgba(0,0,0,.03) 4px
        );
    pointer-events: none;
    opacity: 0.3;
}


.main-card {
    background: rgba(44, 28, 20, 0.9);
    border: 2px solid #8b6f47;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(139, 111, 71, 0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 1;
    height: calc(100svh - 120px);
}

/* Coins décoratifs */
.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #c9a961;
}

.corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: radial-gradient(circle, #c9a961 0%, #8b6f47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: #1a0e0e;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
    border: 3px solid #f4e4c1;
}

h1 {
    font-size: 28px;
    color: #c9a961;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    text-align: center;
    color: #d4b896;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 14px;
}

.divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b6f47, transparent);
    margin: 20px auto;
}

.welcome-text {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e8d5b7;
    font-size: 15px;
}

.player-name {
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid #8b6f47;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-bottom: 25px;
}

.player-name label {
    display: block;
    font-size: 12px;
    color: #c9a961;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-name span {
    font-size: 20px;
    color: #f4e4c1;
    font-weight: bold;
}

.btn-start {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8b6f47 0%, #c9a961 100%);
    border: none;
    border-radius: 10px;
    color: #1a0e0e;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Georgia', serif;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-start:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(201, 169, 97, 0.3);
}

.warning {
    margin-top: 20px;
    padding: 15px;
    background: rgba(139, 69, 19, 0.2);
    border-left: 3px solid #c9a961;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.5;
    color: #d4b896;
}

.warning strong {
    color: #c9a961;
}

/* Animation de pulsation subtile pour le bouton */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(201, 169, 97, 0.6);
    }
}

.btn-start {
    animation: pulse 2s infinite;
}

/* Effet de lueur sur le titre */
@keyframes glow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 2px 2px 8px rgba(201, 169, 97, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

h1 {
    animation: glow 3s infinite;
}

.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b6f47 0%, #c9a961 100%);
    border: 2px solid #c9a961;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1a0e0e;
    box-shadow: 0 3px 10px rgba(201, 169, 97, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-circle:active {
    transform: scale(0.95);
}