* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-glass: rgba(20, 20, 20, 0.4);
    --border-glass: rgba(255, 68, 68, 0.15);
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #ff4444 0%, #ff6600 100%);
    --gradient-glow: 0 0 20px rgba(255, 68, 68, 0.5), 0 0 40px rgba(255, 102, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Mesh gradient background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 68, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(255, 102, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(255, 102, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 68, 68, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.header {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    color: #ff4444;
}

.nav a:hover::before {
    opacity: 1;
}

.nav a.active {
    color: #ff4444;
}

.nav a.active::before {
    opacity: 1;
    border-color: rgba(255, 68, 68, 0.4);
}

.nav a span {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.flash-messages {
    margin-bottom: 2rem;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
}

.flash-message.success {
    border-left-color: #00cc00;
    color: #90ee90;
}

.flash-message.error {
    border-left-color: #ff4444;
    color: #ff6666;
}

.flash-message.info {
    border-left-color: #0096ff;
    color: #66b3ff;
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 68, 68, 0.3);
    box-shadow: 0 8px 40px rgba(255, 68, 68, 0.2);
}

/* Chamfered Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    border: none;
    cursor: pointer;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--gradient-glow);
}

.btn:hover::before {
    opacity: 0.6;
}

.btn-secondary {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-secondary:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Typography */
h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff6666;
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff8888;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

p {
    line-height: 1.7;
    color: var(--text-primary);
}

.footer {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    .nav a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 1rem;
    }
}

