/* ------------------ min ----------------*/
    

@charset "utf-8";
@import url("layout/styles/fontawesome-free/css/fontawesome-all.min.css");

.mys {display:none;}
.onlymin{display:block;}


.card {margin:5px; width:95%; border:1px solid #ccc; padding:5px; }

ul {margin:15px; padding:0px;}
li {margin:0px; padding:0px;}

img {width:100%; margin:10px auto;}


	.group .group > *:last-child, .clear .clear > *:last-child, .clear .group > *:last-child, .group .clear > *:last-child
    {margin-bottom:0;}

	.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter, .book_one, .book_two
    {display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}

	#topbar{padding-top:15px; text-align:center;}

	#topbar ul{margin:0 0 15px 0; line-height:normal;}

	#header{}

	

	#footer{padding-bottom:50px;}




    



/* Общий фон ---------------------------------- */

html{overflow-y:scroll; overflow-x:hidden; }

html{margin:0; padding:0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:100%; margin: 0 auto 0 auto;}

body{ padding:0 0 0 0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:100%; margin: 0 auto 0 auto;}

.wrapper{display:block; position:relative; width:100%; margin:0; padding:0; text-align:left; word-wrap:break-word;}

.hoc{display:block; margin:0 auto;}



/* вспомогательно ----------------------------------- */


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

.picture {width:50%; border:1px solid; box-shadow: 2px 5px 5px gray;}
.picture:hover {}
.mybook { }

.hidden{display:none;}
.nospace{margin:0; padding:0; list-style:none;}
.space{margin:10px; padding:0; list-style:none;}
.space-left-0{margin:10px 0px; padding:0; list-style:none;}

.block{display:block;}
.inline *{display:inline-block;}
.inline *:last-child{margin-right:0;}
.pushright li{margin-right:20px;}
.pushright li:last-child{margin-right:0;}
.borderedbox{border:1px solid;}
.overlay{position:relative; z-index:1;}
.overlay::after{display:block; position:absolute; top:0; left:0; width:100%; height:100%; content:""; z-index:-1;}
.bgded{background-position:top center; background-repeat:no-repeat; background-size:cover;}
.circle{border-radius:50%; background-clip:padding-box;}
.blacked{color:black;}
.toptelephon {color:rgb(208, 148, 234); font-weight:700; }
.toptelephon.font-x1 {font-weight:700; font-size:0.8rem;}


/* кнопки ------------------------------------------ */

.btn{display:inline-block; padding:5px 0; 
background:linear-gradient(to  right, rgb(208, 148, 234), #FFFFFF);}
.btn a{color:#000000;  }
.btn a:hover{color:#000000; background-color:transparent; }


/* clear -------------------------------------------- */

.clear, .group{display:block;}
.clear::before, .clear::after, .group::before, .group::after{display:table; content:"";}
.clear, .clear::after, .group, .group::after{clear:both;}




/* img --------------------------------------------- */


 //img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}


/* Шрифты -------------------------------------------- */


.font-x3{font-size: 2.0rem;}

.font-x0{font-size:.9rem;}
.font-x1{font-size:1.3rem;}
.font-x2{font-size:1.8rem;}


.bold{font-weight:bold;}
.uppercase{text-transform:uppercase;}
.capitalise{text-transform:capitalize;}
.justified{text-align:justify;}
.just{text-align:justify;}

.red{color:red;}



/* Формы -------------------------------------------- */

form, fieldset, legend{margin:0; padding:0; border:none; }
legend{display:none;}
.select {font-size:70%;}
label, input, textarea, select, button {display:block; resize:none; outline:none; color:inherit; font-size:inherit; font-family:inherit; vertical-align:middle;}
label{margin-bottom:5px;}
:required, :invalid{outline:none; box-shadow:none;}
::placeholder{opacity:1; font-size:70%;}



/* перпеходы a --------------------------------------- */

a{outline:none; text-decoration:none;}



/* HTML 5 Overrides ------------------------------------------------------------------------------- */

figure, footer, header, main, {display:block; margin:0; padding:0;}




/* элементы на экране -------------------- */

.one_octava{width:100%;}
.one_quarter{width:100%;}
.one_third{width:100%;}
.one_half, .two_quarter {width:100%;}
.two_third{width:100%;}
.three_quarter{width:100%;}
.one_one{width:100%;}
.one_sixth {width:100%;}
.book_one {width:100%;}
.book_two {width:100%;}

.one_half, 
.book_one,
.book_two,
.one_one, 
.one_third, 
.two_third, 
.one_quarter, 
.two_quarter, 
.three_quarter, 
.one_sixth,
.one_octava {display:block; margin: 0 auto; list-style:none;}

.first{margin-left:0; clear:left;}







/* Colours ---------------------------------------------------------------------------------------- */

  [data-theme="light"] {
    
    --bg1: #f8fafc;
    --bg2: #e2e8f0;
    --bg3: #cbd5e1;
      --blue: #2563eb;
      --orange: #ea580c;
      --pink: #db2777;
      --green: #059669;
      --yellow: #d97706;
      --text: #0f172a;
      --card-bg: rgba(0, 0, 0, 0.04);
      --border-light: rgba(0, 0, 0, 0.08);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --shadow-strong: 0 15px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      --glow: 0 0 20px rgba(37, 99, 235, 0.3);
    }

    :root {
            --bg1: #fff;
      --bg1: #f8fafc;
      --bg2: #e2e8f0;
      --bg3: #cbd5e1;
      --blue: #2563eb;
      --orange: #ea580c;
      --pink: #db2777;
      --green: #059669;
      --yellow: #d97706;
      --text: #0f172a;
      --card-bg: rgba(0, 0, 0, 0.04);
      --border-light: rgba(0, 0, 0, 0.08);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --shadow-strong: 0 15px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
      --glow: 0 0 20px rgba(37, 99, 235, 0.3);
    }












    



    /* ===== КНОПКА ТЕМЫ ===== */
    .theme-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--shadow-strong), var(--glow);
      z-index: 100;
      font-size: 1.5em;
      transition: 0.4s;
      border: 1px solid var(--border-light);
      color: var(--text);
      animation: pulse 3s infinite;
    }

    .theme-btn:hover {
      transform: rotate(180deg) scale(1.1);
      box-shadow: var(--shadow-strong), 0 0 30px var(--blue);
    }

    @keyframes pulse {
      0%, 100% { box-shadow: var(--shadow-strong), 0 0 20px var(--blue); }
      50% { box-shadow: var(--shadow-strong), 0 0 40px var(--pink); }
    }





  


    






    /* Заголовки */


    h1 {
      font-size: 0.7rem; text-align:left;
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 1.1;
      text-shadow: 0 4px 12px rgba(0,0,0,0.3);
      animation: slideInLeft 1s ease;
    }

    @keyframes slideInLeft {
      from { opacity: 0; transform: translateX(-30px); }
      to { opacity: 1; transform: translateX(0); }
    }



h1 span {
      color: var(--blue);
      background: linear-gradient(135deg, var(--blue), var(--pink), var(--orange));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% 200%;
      animation: gradientShift 5s ease infinite;
    }

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



h2 {
      font-size: 2rem;
      margin: 3rem 0 1.5rem;
      font-weight: 600;
      position: relative;
      display: inline-block;
      animation: fadeInUp 1s ease;
    }

    h2:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, var(--blue), transparent);
      border-radius: 4px;
      animation: expandLine 1s ease 0.5s both;
    }

    @keyframes expandLine {
      from { width: 0; }
      to { width: 60%; }
    }



    .tagline {
      font-size: 1.3rem;
      opacity: 0.9;
      margin-top: 0.5rem;
      margin-bottom: 2rem;
      max-width: 100%;
      animation: slideInRight 1s ease;
    }



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

 

    /* ===== РЕКЛАМНЫЙ БАННЕР ===== */
    .promo-banner {
      //margin: 1.5rem 0 2rem;
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-light);
      //border-radius: 60px;
      //padding: 0.8rem 2rem;
      //width: fit-content;
      max-width: 100%;
      box-shadow: var(--shadow-strong);
      transition: 0.3s;
      animation: fadeInUp 1s ease 0.3s both;
            font-size: 1.2rem;
            margin: 10px 0;

    }
    .promo-banner:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: var(--blue);
      box-shadow: var(--shadow-strong), var(--glow);
    }
    .promo-banner a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: center;
    }
    .promo-emoji {
      font-size: 1.2rem;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    /* Секция "О компании" */
    .about-company {
      background: var(--bg1);
      backdrop-filter: blur(12px);
      //border: 1px solid var(--border-light);
      border-radius: 0px;
      //padding: 1.5rem 2rem;
      //margin: 2rem 0 3rem;
      box-shadow: var(--shadow-strong);
      font-size: 1.1rem;
      animation: fadeInUp 1s ease 0.4s both;
    }
    .about-company p {
      max-width: 100%;
    }





    /* Поиск */
    .search-box {
      margin: 1.5rem 0 2rem;
      width: 100%;
      max-width: 500px;
      animation: fadeInUp 1s ease 0.5s both;
    }
    .search-box input {
      width: 100%;
      padding: 1rem 1.5rem;
      border-radius: 60px;
      border: 1px solid var(--border-light);
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      color: var(--text);
      font-size: 1rem;
      outline: none;
      transition: 0.2s;
      box-shadow: var(--shadow);
    }
    .search-box input::placeholder {
      color: var(--text);
      opacity: 0.6;
    }
    .search-box input:focus {
      border-color: var(--blue);
      box-shadow: var(--glow), var(--shadow-strong);
      transform: scale(1.02);
    }



/* флекс */

    //.project-flex {flex-direction:row; display: flex;}

    //.flex {flex-wrap:wrap;}



  /* Карточка book*/

    .annotation {margin:0px auto; width:100%; clear:both;}

    .project-vitrina {padding-left:0px; margin-left:0px;}

   .project-genre {border:1px solid; padding:2px 5px; margin-right:5px; flex-wrap:wrap;}


    .noborder {border:0px solid;}

    .project-card-top-text {
      background: transparent;//var(--card-bg);
      backdrop-filter: blur(12px);
      text-align: justify;
      padding:24px 20px;
      //border: 1px solid var(--border-light);
      //box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      //text-decoration: none;
      column-count: 1;
      column-gap: 30px;
      column-rule: 1px dotted red;
      width:70%;
      margin:0 auto;
      font-size: 11px
    }

    .hyphens {text-wrap: pretty}

    .project-card-book {
      background: white; //var(--card-bg);
      backdrop-filter: blur(12px);
      align-items: left;
      padding:0px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      position: relative;
      height:430px; 
      width:300px;
    }

      
    .project-emoji-book { 
     
      filter: drop-shadow(0 5px 12px rgba(0,0,0,0.2));
      transition: 0.3s;
    }

    .project-emoji-book img {  margin-top:0px; width:300px; margin: 0px 0px; height:430px;}

    .project-tag-book {
      position:relative; 
      display: inline-block;
      background: var(--bk1);
      color: var(--text);
      font-size: 0.7rem;
      font-weight: 600;
      //padding: 5px;
      width: width:100%;;
      margin: 0px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      transition: 0.3s;
      align-items: center;
      text-align: center;

    }








    /* Сетки карточек */
    

    .featured-grid, .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
      gap: 14px;
      margin-bottom: 30px;
    }





    /* Карточка */

    .project-card {
      background: white; //var(--card-bg);
      backdrop-filter: blur(12px);
      align-items: left;
      //padding:24px 20px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      position: relative;
      height:400px; 
      width:200px;
    }

      


    .project-emoji { 
     
      filter: drop-shadow(0 5px 12px rgba(0,0,0,0.2));
      transition: 0.3s;
    }

    .project-emoji img { height:258px; width:100%; margin: 0px 0px;}


    .project-title {
      font-size: 12px; min-height:60px; text-align:center;
      font-weight: 600;
      margin: 0;
      //transition: 0.3s;
    }

    .project-desc {
      font-size: 12px; min-height:30px; text-align: left;
      opacity: 0.7;
      margin: 0;
    }

    .project-tag {
        position:relative; 
      display: inline-block;
      background: var(--blue);
      color: white;
      font-size: 0.7rem;
      font-weight: 600;
      //padding: 5px;
      width: width:100%;;
      margin: 0px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      transition: 0.3s;
      align-items: center;
      text-align: center;

    }

    .project-card:hover .project-tag {
      background: var(--pink);
      //transform: scale(1.1);
    }

    .project-card.hidden {
      display: none;
    }





    .future-note {
      grid-column: 1 / -1;
      text-align: justify;
      padding: 2rem;
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      border-radius: 60px;
      border: 1px dashed var(--blue);
      color: var(--text);
      font-size: 1.1rem;
      margin-top: 2rem;
      box-shadow: var(--shadow);
      animation: pulseBorder 2s infinite;
    }

    @keyframes pulseBorder {
      0%, 100% { border-color: var(--blue); box-shadow: 0 0 20px var(--blue); }
      50% { border-color: var(--pink); box-shadow: 0 0 40px var(--pink); }
    }

    /* Адаптивность */
    @media (max-width: 768px) {
      h1 { font-size: 2.5rem; }
      .tagline { font-size: 1.1rem; }
      .subsidiaries { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
      .promo-banner { padding: 0.6rem 1.2rem; }
      .promo-banner a { gap: 0.3rem; }
      .featured-grid, .games-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .project-card { padding: 20px 12px; }
      .project-emoji { font-size: 2.5rem; }
      .project-title { font-size: 1.2rem; }
      .theme-btn { top: 15px; right: 15px; width: 45px; height: 45px; font-size: 1.3em; }
      .content { padding: 70px 16px 40px; }
      .about-company { padding: 1rem 1.5rem; }
    }

    @media (max-width: 480px) {
      .featured-grid, .games-grid, .tools-grid { grid-template-columns: 1fr; }
    }

    @media (orientation: landscape) and (max-height: 600px) {
      .content { padding-top: 60px; }
      h1 { font-size: 2.2rem; }
      .featured-grid { grid-template-columns: repeat(4, 1fr); }
    }



    /* Дочерние компании */
    .subsidiaries {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem 1.5rem;
      align-items: center;
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      padding: 1rem 2rem;
      border-radius: 0px 60px 60px 0px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-strong);
      margin-bottom: 2rem;
      width: fit-content;
      animation: fadeInUp 1s ease 0.2s both;
    }

    .subsidiaries span {
      font-weight: 600;
      color: var(--blue);
    }

    .subsidiaries a {
      color: var(--text);
      text-decoration: none;
      padding: 0.3rem 1rem;
      border-radius: 30px;
      background: rgba(255,255,255,0.05);
      transition: 0.2s;
      border: 1px solid transparent;
    }

    .subsidiaries a:hover {
      border-color: var(--blue);
      background: rgba(59,130,246,0.1);
      transform: translateY(-2px);
      box-shadow: var(--glow);
    }

