html {
    scroll-behavior: smooth;
}

body {
    margin:      0;
    font-family: 'Rubik', sans-serif;
    background:  #240B37;
    color:       #FFFFFF;
    min-height:  100vh;
    box-sizing:  border-box;
}

* {
    box-sizing: border-box;
}

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

a:hover {
    color:           #A0CFFF;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin:      0;
    font-weight: 500;
}

button {
    background: none;
    border:     none;
    padding:    0;
    cursor:     pointer;
    color:      inherit;
}

.landing-container {
    width:          100%;
    max-width:      1280px;
    margin:         0 auto;
    padding:        0;
    display:        flex;
    flex-direction: column;
    min-height:     100vh;
}

main {
    flex-grow: 1;
    width:     100%;
}

.main-header {
    display:         flex;
    justify-content: center;
    padding:         20px 0;
    width:           100%;
    position:        absolute;
    top:             0;
    left:            0;
    right:           0;
    margin:          0;
    z-index:         1000;
    background:      transparent;
    transition:      background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: #240B37;
    position:         fixed;
}

.header-content {
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    width:           100%;
    max-width:       1280px;
    padding:         0 40px;
}

.burger-menu {
    display:         none;
    width:           24px;
    height:          24px;
    background:      url(/img/icon-burger.png) no-repeat center center;
    background-size: contain;
    border:          none;
    cursor:          pointer;
    padding:         0;
    z-index:         11;
    text-indent:     -9999px;
    overflow:        hidden;
}
.burger-menu span {
    display: none;
}

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

.header-logo {
    height: 30px;
    width:  auto;
}

.header-title {
    font-size:      24px;
    font-weight:    500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color:          #FFFFFF;
    white-space:    nowrap;
}

.header-brand {
    display:     flex;
    align-items: center;
    gap:         15px;
    order:       1;
}

.main-nav {
    display:     block;
    order:       2;
    margin-left: auto;
}
.main-nav ul {
    display:    flex;
    list-style: none;
    padding:    0;
    margin:     0;
    gap:        30px;
}
.main-nav a {
    font-family:    Rubik;
    font-weight:    500;
    font-size:      16px;
    line-height:    26px;
    letter-spacing: 0px;
    text-align:     center;
    vertical-align: middle;
    text-transform: uppercase;
    color:          rgba(255, 255, 255, 0.7);
    padding:        5px 0;
    position:       relative;
    transition:     color 0.3s ease;
}
.main-nav a:hover,
.main-nav a.active {
    color: #FFFFFF;
}

.header-icon {
    order:       3;
    margin-left: 30px;
}
.lang-button {
    width:           24px;
    height:          24px;
    background:      url(/img/icon-lang.png) no-repeat center center;
    background-size: contain;
    border:          none;
    cursor:          pointer;
    padding:         0;
    text-indent:     -9999px;
    overflow:        hidden;
}

.hero-section {
    position:        relative;
    min-height:      85vh;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: flex-end;
    padding:         80px 20px 50px;
    overflow:        hidden;
}

.hero-background {
    position:        absolute;
    top:             0;
    left:            0;
    width:           100%;
    height:          100%;
    z-index:         0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    overflow:        hidden;
}

.hero-background::after {
    content: none;
}

.hero-background iframe {
    border:         0;
    pointer-events: none;
    width:          100%;
    height:         100%;
}

.hero-bg-image {
    width:              100%;
    height:             100%;
    object-fit:         cover;
    position:           absolute;
    top:                0;
    left:               0;
    z-index:            0;
    -webkit-mask-image: radial-gradient(50% 44.01% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60.05%, rgba(0, 0, 0, 0) 100%);
    mask-image:         radial-gradient(50% 44.01% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60.05%, rgba(0, 0, 0, 0) 100%);
}

.hero-logo-center {
    position:  absolute;
    top:       50%;
    left:      50%;
    transform: translate(-50%, -50%);
    z-index:   2;
}

.galaxy-spinner {
    width:           60px;
    height:          60px;
    background:      url(/img/svg/icon-union.svg) no-repeat center center;
    background-size: contain;
    animation:       spin 20s linear infinite;
}

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

.hero-content {
    position:        relative;
    z-index:         5;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    text-align:      center;
    max-width:       800px;
    margin:          0 auto;
    gap:             30px;
}

.hero-section h1 {
    font-family:    Rubik;
    font-size:      24px;
    font-weight:    500;
    line-height:    100%;
    letter-spacing: 0px;
    text-align:     center;
    text-shadow:    0 0 20px rgba(0, 0, 0, 0.5);
    margin:         0;
}

.hero-cta-button {
    box-sizing:      border-box;
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         15px 24px;
    gap:             8px;

    width:           210px;
    height:          50px;

    background:      rgba(131, 131, 131, 0.2);
    backdrop-filter: blur(50px);
    border-radius:   25px;

    position:        relative;
    border:          none;

    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       16px;
    line-height:     20px;
    display:         flex;
    align-items:     center;
    text-align:      center;
    color:           #FFFFFF;
    text-decoration: none;
    transition:      all 0.3s ease;
    white-space:     nowrap;
}

.hero-cta-button::before {
    content:                '';
    position:               absolute;
    top:                    0;
    left:                   0;
    right:                  0;
    bottom:                 0;
    border-radius:          25px;
    border:                 1px solid transparent;
    background:             linear-gradient(156.52deg, rgba(255, 255, 255, 0.28) 2.12%, rgba(255, 255, 255, 7e-05) 39%, rgba(255, 255, 255, 7e-05) 54.33%, rgba(255, 255, 255, 0.07) 93.02%) border-box;
    -webkit-mask:           linear-gradient(#FFF 0 0) content-box,
                            linear-gradient(#FFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite:         exclude;
    pointer-events:         none;
}

.hero-cta-button:hover {
    transform:  translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color:      #FFFFFF;
}

.hero-cta-button .button-icon {
    width:     20px;
    height:    20px;
    flex:      none;
    order:     0;
    flex-grow: 0;
}

.cta-button {
    display:        inline-flex;
    align-items:    center;
    padding:        15px 30px;
    gap:            10px;
    background:     linear-gradient(90deg, #4A90E2 0%, #9013FE 100%);
    color:          #FFFFFF;
    border-radius:  30px;
    font-size:      18px;
    font-weight:    500;
    text-transform: uppercase;
    transition:     transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom:  40px;
}

.cta-button:hover {
    transform:  translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button .icon {
    width:            20px;
    height:           20px;
    background-color: #FFF;
    clip-path:        polygon(0 10%, 100% 50%, 0 90%);
}

.cta-image-link {
    display:       inline-block;
    margin-bottom: 40px;
    transition:    transform 0.2s ease;
}

.cta-image-link:hover {
    transform: scale(1.05);
}

.cta-image-link img {
    display:   block;
    width:     210px;
    max-width: 100%;
    height:    auto;
}

.iframe-container {
    display: none;
}

.features-section,
.roadmap-section,
.how-to-play-section,
.ton-locker-preview-section,
.faq-section,
.community-section {
    padding:   60px 40px;
    max-width: 1080px;
    margin:    0 auto;
}

.features-section {
    padding-top: 0;
}

.features-grid {
    display:               grid;
    grid-template-columns: repeat(3, 344px);
    gap:                   24px;
    justify-content:       center;
}

.feature-item {
    position:       relative;
    width:          344px;
    height:         392px;
    border-radius:  24px;
    overflow:       hidden;
    border:         1px solid transparent;
    box-sizing:     border-box;
    transition:     transform 0.3s ease;
    display:        flex;
    flex-direction: column;
}

.feature-item::before {
    content:                '';
    position:               absolute;
    top:                    0;
    left:                   0;
    right:                  0;
    bottom:                 0;
    border-radius:          24px;
    border:                 1px solid transparent;
    background:             linear-gradient(156.52deg, rgba(255, 255, 255, 0.28) 2.12%, rgba(255, 255, 255, 0.0007) 39%, rgba(255, 255, 255, 0.0007) 54.33%, rgba(255, 255, 255, 0.07) 93.02%) border-box;
    -webkit-mask:           linear-gradient(#FFF 0 0) content-box,
                            linear-gradient(#FFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite:         exclude;
    pointer-events:         none;
    z-index:                3;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    display:               block;
    width:                 100%;
    height:                auto;
    max-height:            65%;
    object-fit:            cover;
    position:              relative;
    z-index:               1;
    background:            rgba(131, 131, 131, 0.15);
    background-blend-mode: luminosity;
}

.feature-item::after {
    content:        '';
    position:       absolute;
    top:            40%;
    left:           0;
    right:          0;
    bottom:         0;
    background:     linear-gradient(to bottom, rgba(131, 131, 131, 0) 0%, rgba(131, 131, 131, 0.15) 100%);
    z-index:        2;
    pointer-events: none;
}

.feature-text {
    position:         relative;
    padding:          20px;
    color:            #FFFFFF;
    background-color: rgba(131, 131, 131, 0.15);
    flex-grow:        1;
    display:          flex;
    flex-direction:   column;
    justify-content:  center;
    text-align:       center;
    z-index:          1;
}

.feature-text h3 {
    font-size:     22px;
    font-weight:   700;
    margin-bottom: 8px;
    text-align:    center;
}

.feature-text p {
    font-size:   16px;
    line-height: 1.5;
    opacity:     0.9;
    margin:      0;
    text-align:  center;
}

.roadmap-section {
    text-align: center;
}

.roadmap-section h2 {
    margin-bottom: 30px;
}

.roadmap-image {
    max-width:     100%;
    height:        auto;
    border-radius: 16px;
}

.how-to-play-section {
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    padding:        32px 16px 24px;
    gap:            24px;
    width:          1080px;
    max-width:      100%;
    margin:         0 auto;
    text-align:     center;
}

.how-to-play-section h2 {
    width:           100%;
    height:          28px;
    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       24px;
    line-height:     28px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    text-align:      center;
    color:           #FFFFFF;
    text-shadow:     0px 0px 4px rgba(0, 0, 0, 0.25);
}

.how-to-play-steps {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     flex-end;
    padding:         0px;
    gap:             32px;
    width:           100%;
    flex-wrap:       wrap;
    max-width:       1048px;
    margin:          0 auto;
    align-items:     center;
}

.how-to-play-steps .step {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        8px 10px;
    gap:            16px;
    width:          320px;
    position:       relative;
    height:         160px;
}

.step-content {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    width:          100%;
    height:         100%;
    position:       relative;
}

.step-content > img,
.step-content > .step-image-container,
.step-content > object.svg-icon {
    height:          60px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    margin-top:      0;
    margin-bottom:   auto;
}

.step-content img,
.step-content object.svg-icon {
    height:     60px;
    width:      auto;
    object-fit: contain;
    align-self: center;
}

.step-image-container {
    display:         flex;
    flex-direction:  row;
    align-items:     center;
    padding:         0px;
    width:           168px;
    min-height:      60px;
    justify-content: center;
}

.step-image-container object.svg-icon {
}

.step-text {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         0px;
    gap:             8px;
    width:           100%;
    height:          26px;
    position:        absolute;
    bottom:          40px;
}

.step-number {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         0px;
    gap:             10px;
    width:           24px;
    height:          24px;
    background:      rgba(255, 255, 255, 0.1);
    border-radius:   12px;
    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       16px;
    line-height:     26px;
    color:           #FFFFFF;
    text-shadow:     0px 0px 4px rgba(0, 0, 0, 0.25);
}

.step-text p {
    font-family: 'Rubik';
    font-style:  normal;
    font-weight: 400;
    font-size:   16px;
    line-height: 26px;
    display:     flex;
    align-items: center;
    text-align:  center;
    margin:      0;
    color:       #FFFFFF;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.how-to-play-steps .step:nth-child(2) .step-content img {
    margin-top:      0;
    margin-bottom:   0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    height:          60px;
}

.how-to-play-steps .step:nth-child(3) .step-content img {
    margin-top:      0;
    margin-bottom:   0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    height:          60px;
}

.how-to-play-steps .step:nth-child(2) .step-content object.svg-icon,
.how-to-play-steps .step:nth-child(3) .step-content object.svg-icon {
    width:      200px;
    height:     44px;
    object-fit: contain;
    margin-top: 6px;
}

.how-to-play-steps .step:nth-child(1) .step-content {
    padding-bottom: 8px;
}

.faq-section {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        32px 24px 16px;
    width:          1080px;
    max-width:      100%;
    margin:         0 auto;
}

.faq-section h2 {
    width:           100%;
    height:          28px;
    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       24px;
    line-height:     28px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    text-align:      center;
    color:           #FFFFFF;
    text-shadow:     0px 0px 4px rgba(0, 0, 0, 0.25);
    margin-bottom:   24px;
}

.faq-accordion {
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    padding:        0px;
    gap:            24px;
    width:          640px;
    max-width:      100%;
}

.faq-group {
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    padding:        0px;
    width:          100%;
    margin-bottom:  24px;
}

.faq-group-title {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         18.5px 0px;
    width:           100%;
    height:          64px;
    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       18px;
    line-height:     27px;
    text-align:      center;
    color:           #FFFFFF;
}

.faq-item {
    box-sizing:     border-box;
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    padding:        18.5px 0px;
    gap:            16px;
    width:          100%;
    height:         64px;
    border-bottom:  0.5px solid rgba(255, 255, 255, 0.1);
    overflow:       hidden;
}

.faq-question {
    display:         flex;
    flex-direction:  row;
    justify-content: space-between;
    align-items:     center;
    padding:         0px;
    gap:             10px;
    width:           100%;
    height:          27px;
    background:      transparent;
    border:          none;
    cursor:          pointer;
    text-align:      left;
}

.faq-question-text {
    width:       calc(100% - 30px);
    height:      27px;
    font-family: 'Rubik';
    font-style:  normal;
    font-weight: 500;
    font-size:   16px;
    line-height: 27px;
    color:       #FFFFFF;
}

.faq-question::after {
    content:         '';
    width:           20px;
    height:          20px;
    background:      url('/img/svg/icon-arrow-down.svg') no-repeat center center;
    background-size: contain;
}

.faq-item.active {
    height: auto;
}

.faq-item.active .faq-question::after {
    background:      url('/img/svg/icon-arrow-up.svg') no-repeat center center;
    background-size: contain;
    transform:       none;
}

.faq-answer {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         0px;
    width:           100%;
    height:          0;
    overflow:        hidden;
    transition:      height 0.3s ease;
}

.faq-item.active .faq-answer {
    height:         auto;
    padding-bottom: 0;
}

.faq-answer p {
    width:       100%;
    font-family: 'Rubik';
    font-style:  normal;
    font-weight: 400;
    font-size:   16px;
    line-height: 24px;
    color:       #FFFFFF;
    margin:      0;
}

.ton-locker-preview-section {
    position:        relative;
    text-align:      center;
    backdrop-filter: blur(50px);
}

.ton-locker-preview-section h2 {
    margin-bottom: 40px;
    font-size:     32px;
    font-weight:   500;
}

.ton-locker-info {
    box-sizing:            border-box;
    display:               flex;
    flex-direction:        column;
    align-items:           flex-start;
    padding:               0px;
    width:                 640px;
    max-width:             100%;
    height:                auto;
    min-height:            178px;
    background:            linear-gradient(0deg, rgba(131, 131, 131, 0.15), rgba(131, 131, 131, 0.15)), rgba(23, 8, 47, 0.2);
    background-blend-mode: luminosity, normal;
    border-radius:         24px;
    margin:                0 auto 30px;
    flex:                  none;
    order:                 1;
    flex-grow:             0;
    overflow:              hidden;
}

.locker-row {
    box-sizing:      border-box;
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         13px 20px;
    gap:             10px;
    width:           100%;
    height:          50px;
}

.locker-row:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.locker-row .label {
    width:       522px;
    height:      24px;
    font-family: 'Rubik';
    font-style:  normal;
    font-weight: 400;
    font-size:   16px;
    line-height: 24px;
    color:       #FFFFFF;
    text-align:  left;
    flex:        none;
    order:       0;
    flex-grow:   1;
}

.locker-row .value {
    width:       68px;
    height:      24px;
    font-family: 'Rubik';
    font-style:  normal;
    font-weight: 400;
    font-size:   16px;
    line-height: 24px;
    text-align:  right;
    color:       #FFFFFF;
    flex:        none;
    order:       1;
    flex-grow:   0;
}

.ton-locker-preview-section .button-container {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        12px 0px 16px;
    gap:            10px;
    width:          100%;
    margin-top:     auto;
    background:     transparent;
}

.ton-locker-preview-section .cta-button {
    box-sizing:            border-box;
    display:               flex;
    flex-direction:        row;
    justify-content:       center;
    align-items:           center;
    padding:               13px 24px;
    gap:                   8px;
    width:                 207px;
    height:                50px;
    background:            linear-gradient(0deg, rgba(131, 131, 131, 0.2), rgba(131, 131, 131, 0.2)), rgba(23, 8, 47, 0.2);
    background-blend-mode: luminosity, normal;
    backdrop-filter:       blur(25px);
    border-radius:         25px;
    border:                1px solid transparent;
    position:              relative;
    color:                 #FFFFFF;
    font-family:           Rubik;
    font-weight:           500;
    font-size:             16px;
    line-height:           20px;
    letter-spacing:        0px;
    text-align:            center;
    vertical-align:        middle;
    cursor:                pointer;
    flex:                  none;
    order:                 0;
    flex-grow:             0;
    text-transform:        none;
    white-space:           nowrap;
}

.ton-locker-preview-section .cta-button::before {
    content:                '';
    position:               absolute;
    top:                    0;
    left:                   0;
    right:                  0;
    bottom:                 0;
    border-radius:          25px;
    border:                 1px solid transparent;
    background:             linear-gradient(156.52deg, rgba(255, 255, 255, 0.28) 2.12%, rgba(255, 255, 255, 0.0007) 39%, rgba(255, 255, 255, 0.0007) 54.33%, rgba(255, 255, 255, 0.07) 93.02%) border-box;
    -webkit-mask:           linear-gradient(#FFF 0 0) content-box,
                            linear-gradient(#FFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite:         exclude;
    pointer-events:         none;
}

.ton-locker-preview-section .cta-button .ton-icon {
    width:     24px;
    height:    24px;
    position:  relative;
    flex:      none;
    order:     0;
    flex-grow: 0;
}

.ton-locker-preview-section .cta-button:hover {
    transform:  translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.community-section {
    text-align: center;
}

.community-description {
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         0px;
    gap:             8px;
    width:           100%;
    max-width:       1228px;
    height:          26px;
    margin:          30px auto 0;
    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     400;
    font-size:       16px;
    line-height:     26px;
    display:         flex;
    align-items:     center;
    text-align:      center;
    color:           rgba(255, 255, 255, 0.5);
    text-shadow:     0px 0px 4px rgba(0, 0, 0, 0.25);
    flex:            none;
    order:           0;
    flex-grow:       1;
}

.community-links + .community-description {
    margin-top: 30px;
}

.community-links {
    display:         flex;
    justify-content: center;
    gap:             20px;
    flex-wrap:       wrap;
    margin-top:      20px;
}

.community-button {
    box-sizing:      border-box;
    display:         flex;
    flex-direction:  row;
    justify-content: center;
    align-items:     center;
    padding:         15px 24px;
    gap:             8px;

    width:           auto;
    min-width:       280px;
    height:          50px;

    background:      rgba(131, 131, 131, 0.2);
    backdrop-filter: blur(50px);
    border-radius:   25px;

    position:        relative;
    border:          none;

    font-family:     'Rubik';
    font-style:      normal;
    font-weight:     500;
    font-size:       16px;
    line-height:     20px;
    text-align:      center;
    color:           #FFFFFF;
    text-decoration: none;
    transition:      all 0.3s ease;
    white-space:     nowrap;
}

.community-button::before {
    content:                '';
    position:               absolute;
    top:                    0;
    left:                   0;
    right:                  0;
    bottom:                 0;
    border-radius:          25px;
    border:                 1px solid transparent;
    background:             linear-gradient(156.52deg, rgba(255, 255, 255, 0.28) 2.12%, rgba(255, 255, 255, 7e-05) 39%, rgba(255, 255, 255, 7e-05) 54.33%, rgba(255, 255, 255, 0.07) 93.02%) border-box;
    -webkit-mask:           linear-gradient(#FFF 0 0) content-box,
                            linear-gradient(#FFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite:         exclude;
    pointer-events:         none;
}

.community-button:hover {
    transform:  translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color:      #FFFFFF;
}

.community-button img {
    width:     20px;
    height:    20px;
    flex:      none;
    order:     0;
    flex-grow: 0;
}

.main-footer {
    display:          flex;
    flex-direction:   column;
    align-items:      center;
    padding:          40px 20px;
    gap:              20px;
    width:            100%;
    background-color: rgba(36, 11, 55, 0.5);
    text-align:       center;
    margin-top:       auto;
}

.footer-title {
    font-size:     24px;
    font-weight:   500;
    color:         #FFFFFF;
    margin-bottom: 10px;
}

.footer-links {
    font-size:       16px;
    color:           #FFFFFF;
    margin-bottom:   10px;
    display:         flex;
    gap:             20px;
    flex-wrap:       wrap;
    justify-content: center;
}

.footer-copyright {
    font-size: 14px;
    color:     rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .main-header {
        padding:          0;
        position:         fixed;
        background-color: #240B37;
        left:             0;
        right:            0;
    }

    .header-content {
        position:        relative;
        padding:         15px;
        justify-content: center;
        align-items:     center;
        width:           100%;
    }

    .hero-section {
        min-height:  70vh;
        padding-top: 70px;
    }

    .burger-menu {
        display:  flex;
        order:    1;
        position: absolute;
        left:     15px;
    }

    .header-brand {
        order:           2;
        flex-grow:       0;
        justify-content: center;
        flex:            0 0 auto;
    }

    .header-logo {
        height: 24px;
    }

    .header-title {
        font-size:      22px;
        letter-spacing: 0.2em;
        text-align:     center;
    }

    .main-nav {
        display:          none;
        position:         fixed;
        top:              0;
        left:             0;
        width:            100%;
        height:           100vh;
        background-color: #240B37;
        flex-direction:   column;
        align-items:      center;
        padding-top:      0;
        margin-top:       54px;
        transform:        translateX(-100%);
        transition:       transform 0.3s ease-in-out;
        order:            4;
        margin-left:      0;
        z-index:          10;
    }

    .main-nav.active {
        transform: translateX(0);
        display:   flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap:            25px;
        align-items:    center;
        padding:        40px 0 0 0;
        margin:         0;
        list-style:     none;
    }

    .main-nav a {
        font-size: 18px;
        color:     #FFFFFF;
    }

    .header-icon {
        display:     flex;
        align-items: center;
        order:       3;
        position:    absolute;
        right:       15px;
    }

    .features-section,
    .roadmap-section,
    .how-to-play-section,
    .ton-locker-preview-section,
    .faq-section,
    .community-section {
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .cta-button {
        font-size: 16px;
        padding:   12px 25px;
    }

    .galaxy-spinner {
        width:  40px;
        height: 40px;
    }

    .how-to-play-steps {
        flex-direction: column;
        align-items:    center;
        gap:            0px;
    }

    .how-to-play-steps .step {
        width:          100%;
        max-width:      220px;
        padding-bottom: 40px;
    }

    .how-to-play-steps .step .step-content {
        min-height: 80px;
    }

    .step-content > object.svg-icon {
        height: 44px;
    }

    .how-to-play-steps .step:nth-child(1) .step-content object.svg-icon {
        height: 44px;
        width:  168px;
    }

    .step-text {
        bottom: 20px;
    }

    .step-text p {
        white-space: nowrap;
    }

    .ton-locker-info {
        max-width: 100%;
        width:     100%;
    }

    .locker-row {
        height:          auto;
        min-height:      50px;
        padding:         13px 15px;
        flex-direction:  row;
        justify-content: space-between;
    }

    .locker-row .label {
        width:         auto;
        flex:          1 1 auto;
        font-size:     14px;
        padding-right: 10px;
        white-space:   normal;
        word-break:    break-word;
        text-align:    left;
    }

    .locker-row .value {
        width:      auto;
        flex:       0 0 auto;
        font-size:  14px;
        min-width:  60px;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 24px;
    }

    .header-title {
        font-size: 22px;
    }

    .locker-row {
        padding: 10px;
    }

    .locker-row .label {
        font-size:     13px;
        padding-right: 5px;
    }

    .locker-row .value {
        font-size: 13px;
        min-width: 50px;
    }

    .ton-locker-preview-section .cta-button {
        width:     100%;
        max-width: 200px;
    }
}


@media (max-width: 1120px) {
    .features-grid {
        grid-template-columns: repeat(2, 344px);
    }
}

@media (max-width: 740px) {
    .features-grid {
        grid-template-columns: 344px;
    }
}

.how-to-play-steps .step:nth-child(2) .step-content img {
    width:         200px;
    height:        44px;
    border-radius: 10px;
    object-fit:    contain;
    margin-bottom: 10px;
}

.how-to-play-steps .step:nth-child(3) .step-content img {
    width:         200px;
    height:        44px;
    margin-bottom: 10px;
    object-fit:    contain;
}

.how-to-play-steps .step .step-content {
    min-height:     100px;
    position:       relative;
    padding-bottom: 40px;
    width:          100%;
}

@media (max-width: 768px) {
    .how-to-play-steps .step {
        width:          100%;
        max-width:      220px;
        padding-bottom: 40px;
    }

    .how-to-play-steps .step .step-content {
        min-height: 80px;
    }

    .step-content > object.svg-icon {
        height: 44px;
    }

    .how-to-play-steps .step:nth-child(1) .step-content object.svg-icon {
        height: 44px;
        width:  168px;
    }
} 