@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/minecraft_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    z-index: -1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-container {
    background-color: rgba(10, 32, 66, 0.65); /* Темно-синий с прозрачностью */
    border-radius: 16px;
    padding: 32px;
    width: 350px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08); /* Внутренняя подсветка */
    backdrop-filter: blur(16px) brightness(1.1) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) brightness(1.1) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Эффект акриловой поверхности */
.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(65, 105, 225, 0.4) 0%,
        rgba(10, 32, 66, 0.2) 100%
    );
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.title {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.title h1 {
    font-size: 28px;
    margin: 0px 0 0 0;
    color: white; /* Белый текст на темном фоне */
    font-weight: 600;
}

.title h2 {
    font-size: 16px;
    margin: 8px 0 0 0;
    color: rgba(255, 255, 255, 0.8); /* Полупрозрачный белый */
    font-weight: 600;
}

.vks-logo {
    font-size: 144px !important;
    font-weight: 900;
    background: linear-gradient(
        to right,
        #55FF55,    /* Изумрудный */
        #ff8800     /* Пурпурный */
    ) !important;
    -webkit-background-clip: text;
    background-clip: text !important;
    color: transparent !important;
    margin: 0;
    line-height: 1;
    letter-spacing: 1px; /* Добавляем пространство между буквами */
    display: inline-block;
    padding: 0 10px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Montserrat', sans-serif;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus {
    border-color: #7C4DFF;
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    color: rgba(255, 255, 255, 0.8);
}

 /* unvisited link */
a:link {
  color: #3498DB;
}

/* visited link */
a:visited {
  color: #9B59B6;
}

/* mouse over link */
a:hover {
  color: #2980B9;
}

/* selected link */
a:active {
  color: blue;
} 


button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, #7C4DFF, #E040FB);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(124, 77, 255, 0.3);
}

button:active {
    transform: translateY(0);
}

.notification {
    position: fixed;
    top: 20px;
    left: 10%;
    right: 10%;
    transform: translateX(0);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.notification.success {
    background-color: rgba(46, 204, 113, 0.9);
    color: white;
}

.notification.error {
    background-color: rgba(231, 76, 60, 0.9);
    color: white;
}

.notification.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

.cnsnt-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 32, 66, 0.9);
  color: white;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cnsnt-footer.visible {
  transform: translateY(0) !important;
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.gdpr-button {
  background: #7C4DFF;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.gdpr-button:hover {
  background: #E040FB;
}

.gdpr-footer a {
  color: #7C4DFF;
  text-decoration: underline;
}

/* Специфичные стили для страницы условий */
.terms-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(10, 32, 66, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
}

.terms-content::-webkit-scrollbar {
    width: 8px;
}

.terms-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #7C4DFF, #E040FB);
    border-radius: 4px;
}

.terms-list {
    counter-reset: terms-counter;
    padding-left: 0;
}

.terms-list > li {
    counter-increment: terms-counter;
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
    list-style-type: none;
}

.terms-list > li::before {
    content: counter(terms-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(45deg, #7C4DFF, #E040FB);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.terms-list h3 {
    color: #FFAA00;
    margin-top: 0;
    transform: translateY(3px) ;
    margin-bottom: 20px;
    font-size: 20px;
}

.terms-list p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.terms-accept {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.terms-accept p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Стили для страницы политики конфиденциальности */
.privacy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(10, 32, 66, 0.85);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #7C4DFF, #E040FB);
    border-radius: 4px;
}

.privacy-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section h3 {
    color: #7C4DFF;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.privacy-section ul {
    padding-left: 20px;
    margin: 15px 0;
}

.privacy-section ul ul {
    padding-left: 25px;
    margin: 5px 0;
}

.privacy-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.privacy-section li:before {
    content: "•";
    color: #E040FB;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.privacy-section strong {
    color: #FFAA00;
}

.effective-date {
    text-align: right;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.privacy-accept {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.consent-control {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
}

.consent-control input {
    margin-right: 12px;
    margin-top: 4px;
}

.consent-control label {
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
}