@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    /* Deep dark modern gradient background */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2027 100%);
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* Top Left Brand Tag */
.brand-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

/* Glassmorphism Container */
.container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1, h2, h3 {
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

h3 {
    margin-top: 20px;
    font-size: 1.2em;
}

/* Modern Text Fields */
input, select {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #64748b;
}

input:focus, select:focus {
    border-color: #38bdf8;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

/* Fix select options for dark mode */
select option {
    background: #1e293b;
    color: #ffffff;
}

/* Animated Buttons */
button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
    margin-bottom: 10px;
}

button:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #3fd1ff, #2b70ff);
}

/* The Click Animation */
button:active {
    transform: scale(0.96);
}

/* Match Cards & Room Cards overrides for Glass theme */
.match-card, .room-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    transition: transform 0.2s ease;
}

.match-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06) !important;
}

.match-card h4 {
    color: #38bdf8;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.room-card span {
    background: rgba(0, 0, 0, 0.4) !important;
    color: #38bdf8 !important;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

a {
    color: #38bdf8 !important;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

p {
    color: #cbd5e1;
    line-height: 1.5;
}