:root {
    --primary-color: #efc77e;
    --text-color: #ffffff;
    --light-text: #ffffff;
    --bg-color: #f5f6fa;
    --card-bg: rgba(56, 56, 56, 0.7);
    --shadow: 0 10px 20px rgba(0,0,0,0.1);
    --deep-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
    --profile-size: 120px;
    --button-radius: 12px;
    --transition: all 0.3s ease;
    --profile-pos-x: 20px;
    --profile-pos-y: -60px;
    --name-pos-x: 150px;
    --name-pos-y: 20px;
    --bio-pos-x: 150px;                                                                                                                                                                                                                       
    --bio-pos-y: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('https://i.ibb.co/zTfVxRPd/Perfil-Cherry.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.bio-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--deep-shadow);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.cover {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-section {
    position: relative;
    height: 120px;
}

.profile-pic {
    width: var(--profile-size);
    height: var(--profile-size);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #efc77e;
    box-shadow: var(--shadow);
    position: absolute;
    left: var(--profile-pos-x);
    top: var(--profile-pos-y);
    background-color: white;
    z-index: 2;
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    left: var(--name-pos-x);
    top: var(--name-pos-y);
    color: var(--text-color);
}

.bio {
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    left: var(--bio-pos-x);
    top: var(--bio-pos-y);
    max-width: calc(100% - 170px);
}

.links {
    padding: 0 20px 20px;
}

.link-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    color: var(--light-text);
    border-radius: var(--button-radius);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.link-btn .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.adult-btn {
    background: linear-gradient(135deg, #550000 0%, #550000 100%) !important;
    border-left: 4px solid #1b0101 !important;
    max-width: 200px;
    margin: 0;
    padding: 12px 15px;
    justify-content: center;
    flex: 0 1 auto;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--text-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--deep-shadow);
    text-align: center;
}

.age-verification {
    max-width: 500px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    color: white;
    border: 1px solid #efc77e;
}

.warning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(239, 199, 126);
    border-bottom: 1px solid #efc77e;
}

.warning-header i {
    color: #efc77e;
    font-size: 28px;
}

.warning-body {
    padding: 25px;
}

.warning-list {
    margin: 20px 0;
    list-style: none;
}

.warning-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-list i {
    color: #efc77e;
}

.age-input-container {
    margin: 25px 0;
}

.age-input-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.modern-date-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #efc77e;
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.modern-date-input:focus {
    outline: none;
    border-color: #efc77e;
    box-shadow: 0 0 0 3px rgba(253, 121, 168, 0.3);
}

.error-message {
    color: #ff0033;
    margin-top: 8px;
    font-size: 14px;
    min-height: 20px;
}

.access-denied {
    max-width: 450px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.denied-icon {
    font-size: 50px;
    color: #efc77e;
    margin-bottom: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 5px;
}

.modal-btn i {
    font-size: 16px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #efc77e 0%, #efc77e 100%);
    color: white;
}

.modal-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.age-verification {
    animation: pulse 2s infinite;
}

.adult-section {
    display: none;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.521);
    border-radius: 20px;
    margin-top: 20px;
    position: relative;
}

.close-adult-section {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close-adult-section:hover {
    background: rgba(0,0,0,0.8);
}

@keyframes fireAnimation {
    0% { color: #ffbe76; }
    50% { color: #ff7675; }
    100% { color: #fd79a8; }
}

.fa-fire {
    animation: fireAnimation 1.5s infinite alternate;
    margin-right: 8px;
}

@media (max-width: 600px) {
    :root {
        --profile-pos-x: 15px;
        --name-pos-x: 140px;
        --bio-pos-x: 140px;
    }

    /* NUEVOS ESTILOS PARA BAJAR BOTONES */
    .profile-section {
        margin-bottom: 50px;  /* Espacio bajo la descripción */
    }
    
    .links {
        margin-top: 30px !important;  /* Distancia de los botones */
        padding-bottom: 20px;
    }

    .container {
        margin: 20px auto;
        padding: 10px;
    }
    
    .profile-pic {
        left: var(--profile-pos-x) !important;
        transform: none !important;
        top: var(--profile-pos-y) !important;
    }
    
    .name {
        text-align: left;
        position: absolute !important;
        margin-top: 0 !important;
        left: var(--name-pos-x) !important;
        top: var(--name-pos-y) !important;
        width: auto;
    }
    
    .bio {
        text-align: left;
        position: absolute !important;
        margin: 0 !important;
        left: var(--bio-pos-x) !important;
        top: var(--bio-pos-y) !important;
        max-width: calc(100% - 155px);
    }
    
    .link-row {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .link-btn {
        min-width: calc(50% - 5px);
        box-sizing: border-box;
    }
    
    .adult-btn {
        flex: 1;
        min-width: calc(50% - 5px);
        max-width: none;
        margin-top: 0;
    }
    
    .modal-btns {
        flex-direction: column;
    }
}