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

/* Responsive Typography */
html {
    font-size: 16px;
}

body {
    line-height: 1.6;
    width: 100%;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Mobile-First Media Queries */
/* Tablet Styles */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .col {
        flex: 0 0 100%;
    }

    /* Responsive Navigation */
    nav ul {
        flex-direction: column;
    }

    nav li {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 10px;
    }
}

/* Responsive Typography */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Responsive Tables */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Responsive Embeds (like videos) */
.responsive-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Flexible Touch Targets */
button,
a,
input,
select {
    min-height: 44px;
    min-width: 44px;
}

/* Hide/Show Elements Responsively */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media screen and (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    margin-top:-150px;
}

.auth-box {
    background: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.01);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: white;
    border-bottom: 2px solid white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.auth-footer a {
    color: white;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}