body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #000;
}
header {
    position: relative;
    height: 90vh;
    background: url('https://preview.redd.it/chd9l885rlv51.jpg?auto=webp&s=d239ff77c01ca4e30d6a3299f38379ba44eece2e') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-shadow: 2px 2px 10px #000;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 50, 0.7);
}
.logo {
    max-width: 600px;
    width: 80%;
    position: relative;
    z-index: 1;
}
h1 {
    font-size: 4.5rem;
    margin: 20px 0;
    position: relative;
    z-index: 1;
    color: #00aaff;
    text-shadow: 0 0 15px #00aaff;
}

.quick-btn {
    display: inline-block;
    padding: 0.4rem .4rem;
    margin: 0.1rem 0.1rem 0.1rem 0;
    background: rgba(0, 212, 255, 0.16);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.subtitle {
    font-size: 1.8rem;
    margin: 10px 0 30px;
    position: relative;
    z-index: 1;
}
.cta {
    position: relative;
    z-index: 1;
}
.btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    background: #00aaff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.4);
    cursor: pointer;
}
.btn:hover {
    background: #0088cc;
    transform: translateY(-3px);
}
.btn-login {
    background: #ff6600;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.6);
}
.btn-login:hover {
    background: #cc5200;
}
.btn-register {
    background: #00cc00;
    box-shadow: 0 4px 15px rgba(0, 204, 0, 0.6);
}
.btn-register:hover {
    background: #009900;
}
nav {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
nav a {
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
    font-size: 1.1rem;
}
nav a:hover {
    color: #00aaff;
}
section {
    padding: 60px 20px;
    text-align: center;
}
#features {
    background: #111;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}
.feature {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #00aaff;
}
.feature h3 {
    color: #00aaff;
    margin-bottom: 15px;
}
#gallery {
    background: #222;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}
.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}
footer {
    background: #000;
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}
.modal-content {
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    margin: 8% auto;
    padding: 30px;
    border: 2px solid #00aaff;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.8);
    position: relative;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}
.close:hover {
    color: #fff;
}
.modal h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00aaff;
}
.modal form {
    display: flex;
    flex-direction: column;
}
.modal input {
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: #0f1629;
    color: #fff;
    font-size: 1rem;
}
.modal input:focus {
    outline: 2px solid #00aaff;
}
.modal input.invalid {
    outline: 2px solid #ff4444;
    background: #330000;
}
.modal .error-msg {
    color: #ff6666;
    font-size: 0.9rem;
    margin: 5px 0 10px;
    min-height: 1.2em;
}
.modal .success-msg {
    color: #00bb00;
    font-size: 1.1rem;
    margin: 10px 0 10px;
    min-height: 1.2em;
    padding-top: 8px;
    margin: auto;
    
}

.modal button {
    padding: 12px;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}
.modal button:hover {
    opacity: 0.9;
}
#loginModal button {
    background: #ff6600;
}
#loginModal button:hover {
    background: #cc5200;
}
#registerModal button {
    background: #00cc00;
}
#registerModal button:hover {
    background: #009900;
}
.modal .footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}
.modal .footer-text a {
    color: #00aaff;
    text-decoration: none;
    cursor: pointer;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 1.4rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}