/* ========================================
   SENNIK - MAIN CSS
   Cosmic Purple Theme
   ======================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #1A0B3D !important;
    background: linear-gradient(135deg, #1A0B3D 0%, #2D1B4E 50%, #1A0B3D 100%) !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1A0B3D;
    background: linear-gradient(135deg, #1A0B3D 0%, #2D1B4E 50%, #1A0B3D 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Cosmic Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 126, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 126, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #E8E3F3;
}

a {
    color: #8B7EC8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

/* Header */
.header {
    background: rgba(26, 11, 61, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 126, 200, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #8B7EC8;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #E8E3F3;
    opacity: 0.8;
    margin: 0;
}

/* Navigation */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #E8E3F3;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8B7EC8;
    background: rgba(139, 126, 200, 0.1);
    box-shadow: 0 4px 15px rgba(139, 126, 200, 0.2);
}

.premium-link {
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    color: #1A0B3D !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.premium-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #8B7EC8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(139, 126, 200, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(139, 126, 200, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #E8E3F3;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2000;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(26, 11, 61, 0.8);
    border: 2px solid rgba(139, 126, 200, 0.3);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(139, 126, 200, 0.2);
    position: relative;
    z-index: 2001;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1.1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(232, 227, 243, 0.6);
}

.search-btn {
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #1A0B3D;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: rgba(26, 11, 61, 0.95);
    border: 1px solid rgba(139, 126, 200, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
    z-index: 9999;
    display: none;
}

/* Premium CTA */
.premium-cta {
    text-align: center;
}

.premium-text {
    font-size: 1.1rem;
    color: #E8E3F3;
    margin-bottom: 1rem;
}

.premium-btn {
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #1A0B3D;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
}

.premium-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B7EC8;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    border-radius: 2px;
}

/* Popular Dreams Section */
.popular-dreams {
    padding: 6rem 0;
    background: rgba(26, 11, 61, 0.3);
    position: relative;
    z-index: 1;
}

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

.dream-card {
    background: rgba(26, 11, 61, 0.6);
    border: 1px solid rgba(139, 126, 200, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.dream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 126, 200, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dream-card:hover::before {
    opacity: 1;
}

.dream-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(139, 126, 200, 0.3);
}

.dream-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.dream-title {
    font-size: 1.5rem;
    color: #8B7EC8;
    margin-bottom: 1rem;
}

.dream-desc {
    color: #E8E3F3;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.dream-volume {
    font-size: 0.9rem;
    color: #FFD700;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

/* Categories Section */
.categories {
    padding: 6rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: rgba(26, 11, 61, 0.6);
    border: 1px solid rgba(139, 126, 200, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(139, 126, 200, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-title {
    font-size: 1.5rem;
    color: #8B7EC8;
    margin-bottom: 1rem;
}

.category-desc {
    color: #E8E3F3;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(26, 11, 61, 0.3);
}

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

.about-item {
    text-align: center;
    padding: 2rem;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-item h3 {
    color: #8B7EC8;
    margin-bottom: 1rem;
}

.about-item p {
    color: #E8E3F3;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: rgba(26, 11, 61, 0.8);
    border-top: 1px solid rgba(139, 126, 200, 0.3);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #8B7EC8;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.8rem;
}

.footer-subtitle {
    font-size: 1.2rem;
}

.footer-desc {
    color: #E8E3F3;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #E8E3F3;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 126, 200, 0.2);
    color: #E8E3F3;
    opacity: 0.7;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 126, 200, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1A0B3D;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B7EC8 0%, #FFD700 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFD700 0%, #8B7EC8 100%);
}

/* Selection */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffffff;
}