* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

header {
    position: relative;
    z-index: 10;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    cursor: pointer;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.btn-register {
    padding: 12px 30px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.hero {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

.hero p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 40px;
}

.products {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.product-icon {
    font-size: 80px;
    margin-bottom: 20px;
    text-align: center;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffff;
}

.product-card p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff00ff;
    margin-bottom: 20px;
}

.btn-buy {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #ff00ff, #ff0080);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.register-container {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 80px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.register-container h1 {
    font-size: 36px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.register-container p {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #00ffff;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.form-group input::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #00ffff;
}

.checkbox-group label {
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #aaa;
}

.login-link a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.login-link a:hover {
    color: #ff00ff;
}

.social-register {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.social-register p {
    text-align: center;
    color: #aaa;
    margin-bottom: 15px;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    padding: 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.success-message {
    display: none;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    color: #00ff00;
    margin-bottom: 20px;
    text-align: center;
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    margin-top: 50px;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 24px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .products {
        padding: 30px 20px;
        gap: 20px;
    }

    .register-container {
        margin: 30px 20px;
        padding: 30px 20px;
    }

    .register-container h1 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}