/* The Enchanters - Main Stylesheet */

:root {
    --primary-color: #9d4edd;
    --secondary-color: #7209b7;
    --accent-color: #f72585;
    --dark-bg: #0a0e27;
    --light-text: #ffffff;
    --border-color: #3a0ca3;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Background with overlay */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://static-cdn.jtvnw.net/team-assets/theenchanters-6d1afa85b9cb4161977dcc7d4f4512a6.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

/* Dark overlay for better text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(114, 9, 183, 0.9) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.3);
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

nav a:hover {
    color: var(--primary-color);
    background-color: rgba(157, 78, 221, 0.2);
}

nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    color: var(--light-text);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    border-bottom: 2px solid var(--primary-color);
}

header h1 {
    margin: 0;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

section {
    margin-bottom: 4rem;
}

/* Cards */
.card {
    background-color: rgba(157, 78, 221, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    background-color: rgba(157, 78, 221, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 2px solid var(--primary-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Form Styles */
.form-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.2);
    backdrop-filter: blur(10px);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, #9d4edd 0%, #f72585 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-container > p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--light-text);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(157, 78, 221, 0.4);
    border-radius: 0.5rem;
    color: var(--light-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #1a0033;
    color: var(--light-text);
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

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

    nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .coming-soon {
        font-size: 1.8rem;
    }

    .logo img {
        max-width: 200px;
    }

    .container {
        padding: 100px 1rem 2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem;
    }

    nav {
        gap: 0.5rem;
    }

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

    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .coming-soon {
        font-size: 1.4rem;
    }

    .logo img {
        max-width: 150px;
    }

    .container {
        padding: 80px 1rem 1rem;
    }

    .form-container {
        margin: 0.5rem;
        padding: 1rem;
    }
}

/* Main container for hero section */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.container.hero {
    height: 100vh;
    padding-top: 0;
}

/* Logo styling */
.logo {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Subtitle styling */
.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.4s both;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Decorative line */
.line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    margin: 30px auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Coming Soon text */
.coming-soon {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.8s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

