		body {
			font-family: 'Open Sans', sans-serif !important;
			font-size: 24px;
		}
		img {
			width: 100%;
			height: auto;
		}
		@media (min-width: 1024px) {
			.main-container {
				padding: 96px;
				max-width: 1200px;
				margin: 0 auto;
				background-color: #ffffff;
				border-radius: 10px;
				box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
			}
			.first-screen {
				height: 100vh;
			}
		}
		@media (max-width: 1023px) {
			.main-container {
				padding: 24px;
				max-width: 100%;
				margin: 0 auto;
				background-color: #f9f9f9;
				border-radius: 5px;
				box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
			}
		}

        .burger {
            display: none;
            font-size: 30px;
            padding-left: 20px;
            color: white;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* Показываем меню на десктопе */
        .nav-menu {
            display: block;
        }

        /* Мобильная версия */
        @media (max-width: 768px) {
            .burger {
                display: block;
                z-index: 1001;
                position: relative;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 60px;
                left: 0;
                width: 100%;
                background: #1a0825;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
                transition: max-height 0.3s ease, opacity 0.3s ease;
                overflow: hidden;
                z-index: 1000;
            }

            .nav-menu.active {
                display: block;
                height: 100vh;
            }

            nav ul {
                display: flex;
                flex-direction: column;
                margin: 0;
                padding: 0;
                list-style: none;
            }

            nav ul li {
                padding: 12px 20px;
                border-bottom: 1px solid #444;
            }

            nav ul li a {
                color: #f0eaff;
                text-decoration: none;
            }
        }

        .stars-header {
            position: relative;
            overflow: hidden;
            background-color: #1a0825;
        }

        .stars-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('/stars0.png') repeat;
            background-size: auto;
            animation: moveStars 1200s linear infinite;
            opacity: 0.4;
            z-index: 0;
        }

        @keyframes moveStars {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: -5000px -5000px;
            }
        }

        .stars-header nav,
        .stars-header button {
            position: relative;
            z-index: 1;
        }

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #ddd0f5;
    background: linear-gradient(180deg, #1e1038 0%, #3b256a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(30, 16, 56, 0.85);
    backdrop-filter: blur(10px);
    color: #e0ccff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(160, 122, 255, 0.3);
    box-shadow: 0 4px 20px rgba(85, 30, 160, 0.3);
}

/* Logo */
.logo {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2.5em;
    font-weight: 700;
    color: #e4d4ff;
    text-align: center;
    text-shadow: 0 0 15px rgba(200, 160, 255, 0.5);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 10px rgba(200, 160, 255, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(220, 190, 255, 0.6);
    }
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #e4d4ff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(200, 160, 255, 0.3);
    position: relative;
    background: rgba(64, 30, 128, 0.3);
}

nav a:hover {
    background: rgba(160, 122, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(200, 160, 255, 0.5);
    border-color: rgba(200, 160, 255, 0.7);
}

/* Main Container */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(160, 122, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(128, 64, 192, 0.2);
    color: #ddd0f5;
}

/* Hero Section */
.first-screen {
  background: 
    url('/Гадалка-Нина.jpg') no-repeat center center / cover;
  background-color: rgba(0, 0, 0, 0);
  color: #f0eaff;
  padding: 80px 20px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.first-screen h1 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 3em;
    margin-bottom: 20px;
    color: #eacfff;
    text-shadow: 0 0 20px rgba(160, 122, 255, 0.5);
}

.first-screen p {
    font-size: 1.2em;
    font-style: italic;
    color: #cfc0ea;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Magic Button */
.first-screen button {
    background: linear-gradient(135deg, #a07aff, #dfbfff);
    color: #1e1038;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(160, 122, 255, 0.4);
    min-height: 65px;
}

.first-screen button:hover {
    background: linear-gradient(135deg, #dfbfff, #a07aff);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(180, 140, 255, 0.6);
}

/* Section Headings */
h2#main-title {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2.5em;
    color: #d8b4ff;
    text-align: center;
    margin: 60px 0 30px;
    text-shadow: 0 0 10px rgba(200, 160, 255, 0.3);
}

h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    color: #cbaaff;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 0 8px rgba(160, 122, 255, 0.3);
}

h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #cbaaff, transparent);
}

/* Paragraphs */
p {
    color: #d3c5f0;
    margin-bottom: 20px;
}

/* Cards */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.col-md-4, .col-md-6, .col-md-12, .col-md-3 {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(160, 122, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(100, 50, 200, 0.15);
    transition: 0.3s ease;
}

.col-md-4:hover, .col-md-6:hover, .col-md-12:hover, .col-md-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(180, 140, 255, 0.3);
}

.col-md-4 img, .col-md-6 img, .col-md-3 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid rgba(160, 122, 255, 0.2);
    transition: transform 0.3s ease;
}

.col-md-4:hover img, .col-md-6:hover img, .col-md-3:hover img {
    transform: scale(1.05);
    border-color: #cbaaff;
}

/* Profile Cards */
.col-md-12 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.col-md-12 img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #cbaaff;
    transition: 0.3s ease;
}

.col-md-12:hover img {
    transform: rotate(5deg);
    box-shadow: 0 0 15px rgba(160, 122, 255, 0.4);
}

/* Lists */
ol, ul {
    padding-left: 30px;
    margin: 20px 0;
}

ol li, ul li {
    color: #e4d4ff;
}

ol li b, ul li b {
    color: #dfbfff;
    text-shadow: 0 0 5px rgba(200, 160, 255, 0.3);
}

/* Divider */
section:not(:first-child) {
    border-top: 1px dashed rgba(160, 122, 255, 0.2);
    margin-top: 50px;
    padding-top: 50px;
}

/* Footer */
footer {
    background: rgba(30, 16, 56, 0.85);
    color: #cfc0ea;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 2px solid rgba(160, 122, 255, 0.2);
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive placeholder (media queries) */
/* @media (...) { ... } */

    /* Фон затемнения */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(5px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
    }

    .popup-overlay.active {
      display: flex;
    }

    .popup {
        max-height: 100vh;         /* Ограничим высоту окна */
        overflow-y: auto;         /* Включим вертикальную прокрутку */
        box-sizing: border-box;   /* Учитываем паддинги в высоте */
    }

    .popup::-webkit-scrollbar {
    width: 8px;
    }

    .popup::-webkit-scrollbar-track {
    background: transparent; /* или #f0f0f0 для видимой дорожки */
    }

    .popup::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* светло-серая полоса */
    border-radius: 4px;
    transition: background-color 0.3s;
    }

    .popup::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
    }

    /* Firefox */
    .popup {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    }

    /* Сам попап */
    .popup {
      background: white;
      padding: 30px 40px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      max-width: 720px;
      width: 90%;
      text-align: center;
      position: relative;
    }

    .popup h2 {
      margin-top: 0;
      margin-bottom: 15px;
      color: #333;
    }

    .popup textarea {
      width: 100%;
      height: 100px;
      padding: 10px;
      border: 1.5px solid #ccc;
      border-radius: 8px;
      font-size: 14px;
      resize: vertical;
      font-family: inherit;
    }

    .popup button.close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: transparent;
      border: none;
      font-size: 20px;
      cursor: pointer;
      color: #888;
      transition: color 0.2s ease;
    }

    .popup button.close-btn:hover {
      color: #555;
    }

#form_block_id input {
    border-radius: 50px;
    padding: 6px;
}
#form_block_id textarea {
    border-radius: 50px;
    padding: 18px;
}

.nav-menu a.active {
  color: #fff !important;
  background-color: #6c5ce7;
}

.star {
    font-size: 24px;
    color: gray;
}
.filled {
    color: gold;
}

.gadalka-wrap{
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.5rem 1.25rem;
    border:1px solid #333;

    
}
.post-classic{
    background-color:#fff;	
}
@media screen and (max-width: 720px){
        .gadalka-wrap{
        max-width:90%;		
    }
}

/* Magic Button */
.button-main {
    background: linear-gradient(135deg, #a07aff, #dfbfff);
    color: #1e1038;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(160, 122, 255, 0.4);
    min-height: 65px;
}

.button-main button:hover {
    background: linear-gradient(135deg, #dfbfff, #a07aff);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(180, 140, 255, 0.6);
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}
