/* Fondo general y configuración base */
body {
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
    color: #e0e0e0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 🌌 Estrellas realistas */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
    background-size: 800px 800px;
    opacity: 0.6;
    animation: twinkle 6s infinite alternate;
    z-index: -1;
}

@keyframes twinkle {
    from { opacity: 0.4; }
    to { opacity: 0.8; }
}

/* --- Contenedor principal --- */
.app-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(6px);
    background-color: rgba(22, 22, 29, 0.65);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.app-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 18px;
    background-color: #007bff;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* --- Link al canal (con brillo elegante) --- */
.channel-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.95em;
    color: #4daaff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.channel-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(77, 170, 255, 0.8);
}

.main-content {
    background-color: rgba(26, 26, 30, 0.85);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.raffle-info {
    font-size: 0.95em;
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align:left;
    padding-left:10px;
}

.raffle-info strong {
    color: #fff;
    font-weight: 600;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    width: 100%;
}

.action-button {
    width: 100%;
    padding: 16px;
    font-size: 1em;
    font-weight: 600;
    border: 2px solid;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.button-primary {
    background: linear-gradient(145deg, #007bff, #0056b3);
    color: #fff;
    border-color: #003d80;
}

.button-primary:hover {
    background: linear-gradient(145deg, #0056b3, #007bff);
}

.button-secondary {
    background: linear-gradient(145deg, #3e3e3e, #2b2b2b);
    color: #ccc;
    border-color: #1a1a1a;
}

.button-secondary:hover {
    background: linear-gradient(145deg, #2b2b2b, #3e3e3e);
}
