/* ====== Reset básico ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e2f, #12121c);
    color: #fff;
    min-height: 100vh;
}

/* ====== Contenedor principal ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ====== Título ====== */
h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 40px;
    color: #ffcc00;
    text-shadow: 2px 2px 6px #000;
}

/* ====== Paquetes ====== */
.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.package {
    background: linear-gradient(145deg, #2c2c3d, #1a1a25);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
    border-color: #ffcc00;
}

.package h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffcc00;
}

.package p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.package .price {
    font-size: 1.8em;
    color: #00ffcc;
    font-weight: bold;
}

/* ====== Botón seleccionar ====== */
.select-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    color: #fff;
    background: #ffcc00;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.select-btn:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* ====== Formulario ====== */
#purchase-form {
    margin-top: 50px;
    background: #1f1f2d;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#purchase-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #ffcc00;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #2a2a3b;
    color: #fff;
    font-size: 1em;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ffcc00;
    outline: none;
}

/* ====== Botón enviar ====== */
#purchase-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    background: #ffcc00;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#purchase-form button:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* ====== Mensaje de éxito/error ====== */
#form-message {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
}

#form-message.success {
    color: #00ff99;
}

#form-message.error {
    color: #ff3333;
}

/* ====== Footer ====== */
footer {
    text-align: center;
    margin-top: 80px;
    padding: 20px 10px;
    font-size: 0.9em;
    color: #888;
}
