
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0e29 0%, #1a1f49 100%) fixed;
    background-attachment: fixed;
    background-color: #0a0e29; /* fallback solid */
}

body {
    color: #f8f9fc;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}


/* Mystical background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    radial-gradient(circle at 20% 30%, rgba(113, 76, 226, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(166, 126, 247, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(79, 46, 171, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Subtle star effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

a {
    text-decoration: none;
    color: #d4bafd;
    transition: color 0.3s ease;
}

a:hover {
    color: #a67ef7;
}

.container {
    width: 100%;
    max-width: 96%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(10, 14, 41, 0.6);
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    width: 100%;
}




.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;


}

.logo-icon {
    font-size: 28px;
    color: #a67ef7;
    text-shadow: 0 0 10px rgba(166, 126, 247, 0.6);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #c4b5fd, #a67ef7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(166, 126, 247, 0.4);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    font-weight: 500;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #a67ef7, #6c43d6);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: 2px solid #6c43d6;
    color: #d4bafd;
}

.btn-login:hover {
    background: rgba(108, 67, 214, 0.2);
}

.btn-signup {
    background: linear-gradient(90deg, #a67ef7, #6c43d6);
    border: none;
    color: white;
    font-size: 1.6rem;
}

.btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 67, 214, 0.4);
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    flex: 1;
}

/* Column Styles */
.column {
    border-radius: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.left-column {
    flex: 1;
    order: 1;
}

.center-column {
    flex: 2;
    order: 2;
}

.right-column {
    flex: 1;
    order: 3;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(166, 126, 247, 0.3);
    color: #d4bafd;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #a67ef7, #6c43d6);
}

/* Left Column Content */
.zodiac-selector {
    margin-bottom: 30px;

}

.zodiac-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.zodiac-item {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 10px;
    border-radius: 10px;
    background: rgba(166, 126, 247, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat; 
    background-position: 10px;
    background-size: 50px auto; 
    border: 2px solid #e6bc5a;
    background-color: rgba(166, 126, 247, 0.1);
}

.zodiac-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, #a67ef7, #6c43d6, transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zodiac-item:hover {
    transform: translateY(-5px);
    background: rgba(166, 126, 247, 0.2);
    background-repeat: no-repeat; 
}

.zodiac-item:hover::before {
    opacity: 1;
}

.zodiac-icon {
    font-size: 30px;
    margin-bottom: 10px;
    color: #a67ef7;
    text-shadow: 0 0 10px rgba(166, 126, 247, 0.4);
}

/* Center Column Content */
.welcome {
    text-align: center ;
    margin-bottom: 30px;
}

.welcome h1 {
    font-size: 2rem;

    text-shadow: 0 0 15px rgba(166, 126, 247, 0.3);
}

.welcome p {
    color: #c5c8d9;
    font-size: 1.2rem;
}

.centerpage1 {
    background: linear-gradient(135deg, rgba(166, 126, 247, 0.15) 0%, rgba(108, 67, 214, 0.15) 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.centerpage1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(166,126,247,0.05)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.horoscope-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.horoscope-header i {
    font-size: 32px;
    color: #a67ef7;
    text-shadow: 0 0 10px rgba(166, 126, 247, 0.4);
}

.horoscope-content p {
    margin-bottom: 15px;
    color: #e6e9f0;
}

.featured-article {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Right Column Content */

.birthdate-input {
    margin-bottom: 25px;
}

.birthdate-input input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid rgba(166, 126, 247, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-top: 8px;
}

.compatibility {
    margin-bottom: 25px;
}

.comp-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid rgba(166, 126, 247, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-top: 8px;
}

/* Footer Styles */
footer {
    background: rgba(10, 14, 41, 0.95);
    padding: 40px 0 20px;
    margin-top: 40px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d4bafd;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(166, 126, 247, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(45deg, #a67ef7, #6c43d6);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(166, 126, 247, 0.2);
    color: #c5c8d9;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .main-content {
flex-direction: column;
    }
    
    .left-column, .center-column, .right-column {
flex: 1;
    }
    
    .zodiac-list {
grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        position: static;
        top: 0;
        left: 0;
        right: 0;
        transition: transform 0.3s ease-in-out;
    }

  /* Hidden state */
    header.hide {
        transform: translateY(-100%);
    } 
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .zodiac-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .zodiac-list {
        grid-template-columns: repeat(2, 1fr);
    }
    h2, .section-title {
        font-size: 1.2rem;   /* smaller font size on mobile */
    }    
  
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        text-align: center;
    }
}
.date-display {
    background: rgba(10, 14, 41, 0.7); /* dark semi-transparent */
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(166, 126, 247, 0.3); /* purple border */
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
    color: #f8f9fc; /* make sure text stays visible */
}
.section-title {
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-size: 1.8rem;
    border-left: 4px solid #FF6B6B;
    padding-left: 10px;
}
.highlight-1 {
    color:rgb(185, 163, 36);
    font-weight: 700;
}
/* CONTACT FORM STYLING */
.contact-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-weight: 600;
    color: #d4bafd;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid rgba(166, 126, 247, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a67ef7;
    box-shadow: 0 0 8px rgba(166, 126, 247, 0.5);
}