/* STAR2YOU - Landing Page */

/* Variables */
:root {
    --s2y-dark: #0a0e27;
    --s2y-blue: #085a85;
    --s2y-pink: #e91e8c;
    --s2y-cyan: #00d4ff;
    --s2y-purple: #7b2ff7;
    --s2y-gradient: linear-gradient(135deg, #e91e8c, #7b2ff7, #00d4ff);
    --s2y-white: #ffffff;
}

/* Landing page */
.s2y-landing {
    background: var(--s2y-dark);
    min-height: 100vh;
    color: var(--s2y-white);
    overflow-x: hidden;
}

/* Hero */
.s2y-hero {
    text-align: center;
    padding: 40px 20px 20px;
}

.s2y-hero .s2y-logo {
    max-width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.s2y-hero h1 {
    font-family: 'Lobster', cursive;
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: var(--s2y-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s2y-hero .s2y-tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    line-height: 1.5;
}

.s2y-hero .s2y-tagline strong {
    color: var(--s2y-cyan);
    -webkit-text-fill-color: var(--s2y-cyan);
}

/* Features */
.s2y-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 25px 15px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.s2y-feature {
    flex: 1;
    min-width: 90px;
    max-width: 140px;
    text-align: center;
    padding: 15px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.s2y-feature-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.s2y-feature-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

/* CTA Button */
.s2y-cta {
    text-align: center;
    padding: 10px 20px 15px;
}

.s2y-btn-primary {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--s2y-pink), var(--s2y-purple));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.s2y-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(233, 30, 140, 0.6);
    color: #fff;
    text-decoration: none;
}

.s2y-btn-secondary {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 25px;
    font-size: 0.9rem;
    color: var(--s2y-cyan);
    background: transparent;
    border: 1px solid var(--s2y-cyan);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
}

.s2y-btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--s2y-cyan);
    text-decoration: none;
}

/* Login section (toggle) */
.s2y-login-section {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.s2y-login-section .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
}

.s2y-login-section .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--s2y-cyan);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.15);
}

.s2y-login-section select.form-control {
    appearance: auto;
}

.s2y-login-section label,
.s2y-login-section small {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.s2y-login-section .btn-primary {
    background: linear-gradient(135deg, var(--s2y-pink), var(--s2y-purple));
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.s2y-login-section .alert {
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Separator */
.s2y-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.s2y-divider::before,
.s2y-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.s2y-divider span {
    padding: 0 15px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Footer */
.s2y-footer {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}

.s2y-footer a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.s2y-footer a:hover {
    color: var(--s2y-cyan);
}

/* ===================== */
/* PAGE ACCUEIL (logged) */
/* ===================== */

.s2y-app {
    background: var(--s2y-dark);
    min-height: 100vh;
    color: var(--s2y-white);
}

/* Welcome bar */
.s2y-welcome {
    text-align: center;
    padding: 25px 15px 10px;
}

.s2y-welcome .s2y-logo-small {
    max-width: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.s2y-welcome p {
    font-family: 'Lobster', cursive;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.s2y-welcome .s2y-pseudo {
    background: var(--s2y-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Action cards */
.s2y-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.s2y-action-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s2y-action-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.s2y-action-card.s2y-card-main {
    background: linear-gradient(135deg, rgba(233,30,140,0.15), rgba(123,47,247,0.15));
    border-color: rgba(233,30,140,0.3);
}

.s2y-action-card.s2y-card-main:hover {
    background: linear-gradient(135deg, rgba(233,30,140,0.25), rgba(123,47,247,0.25));
}

.s2y-action-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.s2y-action-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.s2y-action-title {
    font-family: 'Lobster', cursive;
    font-size: 1.3rem;
    margin: 0;
    color: #fff;
}

.s2y-action-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0 0;
    padding-left: 47px;
}

/* Expandable form inside action card */
.s2y-action-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.s2y-action-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
}

.s2y-action-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--s2y-cyan);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.15);
}

.s2y-action-form select.form-control {
    appearance: auto;
}

.s2y-action-form label,
.s2y-action-form small {
    color: rgba(255,255,255,0.7);
}

.s2y-action-form .btn-primary {
    background: linear-gradient(135deg, var(--s2y-pink), var(--s2y-purple));
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
    width: 100%;
}

.s2y-action-form .btn-outline {
    background: transparent;
    border: 1px solid var(--s2y-cyan);
    color: var(--s2y-cyan);
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
}

.s2y-action-form .alert {
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Lists section */
.s2y-lists {
    display: flex;
    gap: 12px;
    padding: 0 15px 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.s2y-list-card {
    flex: 1;
    min-width: 220px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 15px;
}

.s2y-list-title {
    font-family: 'Lobster', cursive;
    font-size: 1rem;
    color: var(--s2y-cyan);
    margin-bottom: 10px;
    text-align: center;
}

.s2y-list-card .list-group-item {
    background: transparent;
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    padding: 8px 10px;
    font-size: 0.8rem;
}

.s2y-list-card .badge-primary {
    background: linear-gradient(135deg, var(--s2y-pink), var(--s2y-purple));
    font-weight: 400;
    font-size: 0.7rem;
}

/* Map container */
.s2y-map-container {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.s2y-map-container #map {
    border-radius: 12px;
}

/* Responsive */
@media (min-width: 768px) {
    .s2y-hero h1 {
        font-size: 2.8rem;
    }
    .s2y-hero .s2y-tagline {
        font-size: 1.2rem;
    }
    .s2y-feature {
        padding: 20px 12px;
    }
    .s2y-actions {
        max-width: 600px;
    }
    .s2y-lists {
        max-width: 600px;
    }
}
