* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Telegram-style color scheme with pirate_bg */
:root {
    /* Background with pirate_bg */
    --tg-background: rgba(255, 255, 255, 0.75);
    --tg-background-gradient: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.75) 100%
    );
    --tg-pattern: url(../assets/images/pirate_bg.svg) size: 200px;
    
    /* Telegram colors */
    --tg-primary: #3390ec;
    --tg-primary-hover: #2782d5;
    --tg-secondary: #707579;
    --tg-hint: #a8aeb3;
    --tg-text: #000000;
    --tg-surface: #ffffff;
    --tg-surface-secondary: #f4f4f5;
    --tg-border: #dfe1e5;
    --tg-negative: #ff3b30;
    --tg-positive: #34c759;
    --tg-warning: #ff9500;
}

.indexbody {
    align-items: center;
    height: 100vh;
    background:
    linear-gradient(196deg,#1d252dfa 100%, #4d729df2 0%, #1d252dfa 100%),
    url(../assets/images/pirate_bg.png);
  background-repeat: repeat;
  background-size: auto, 200px;
}
.centerbody {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
    linear-gradient(196deg,#1d252dfa 100%, #4d729df2 0%, #1d252dfa 100%),
    url(../assets/images/pirate_bg.png);
  background-repeat: repeat;
  background-size: auto, 200px;
}

.container {
    width: 30%;
    display: flex;
    justify-content: center;
    text-align: center;
}
.container_index {
    height: 100vh;
    align-items: center;
    width: 50wh;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1fr; /* Две колонки равной ширины */
}
.content {   
        font: normal 16px/normal Verdana, Geneva, sans-serif;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
}
.content_index {   
        font: normal 16px/normal Verdana, Geneva, sans-serif;
        display: flex;
        justify-content: center;
        width: 50%;
        min-width: 200px;
        flex-direction: column;
        align-items: center;
        text-align: center;
}

h1 {  
    color: white;
    font-size: 100%;
    margin-bottom: 6%;
}

input {
    text-align: center;
    margin-bottom: 10px;
    padding: 14px 20px;
    width: 250px;
    border: 1px solid var(--tg-border);
    border-radius: 12px;
    font-size: 16px;
    background: var(--tg-surface);
    color: var(--tg-text);
    transition: border-color 0.2s ease;
}
input:focus {
    outline: none;
    border-color: var(--tg-primary);
}
input::placeholder {
    color: var(--tg-hint);
    font-size: 16px;
}
.button {
    margin-bottom: 20px;
    width: 250px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #ffffff;
    background: var(--tg-primary);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.button:hover {
    background: var(--tg-primary-hover);
    box-shadow: 0 2px 8px rgba(51, 144, 236, 0.3);
}
.button:active {
    background: var(--tg-primary);
    transform: scale(0.98);
}
.link {
    font-size: 14px;
    color: var(--tg-primary);
    margin-bottom: 20px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.link:hover {
    color: var(--tg-primary-hover);
    text-decoration: underline;
}
.store {
}
.store_img {
    margin-bottom: 15px;
    height: 48px;
    width: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.2s ease;
    background-color: #ffffff;
}
.store_img:hover {
    transform: scale(1.05);
}
p {
    font-size: 14px;
    color: var(--tg-surface);
    margin-bottom: 15px;
}
.logo {
    padding-left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer {
    font: normal 14px/normal Verdana, Geneva, sans-serif;
    color: var(--tg-hint);
    position: fixed;
    left: 0;
    bottom: 0%;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
h1 {
    color: var(--tg-surface);
    font-size: 28px;
    margin-bottom: 25px;
}
h2 {
    color: var(--tg-surface);
    font-size: 24px;
    margin-bottom: 25px;
}

/* Telegram-style variables (for reference) */
:root {
    --tg-radius-xs: 4px;
    --tg-radius-s: 8px;
    --tg-radius-m: 12px;
    --tg-radius-l: 16px;
    --tg-radius-xl: 20px;
}
.store_btn {
    display: flex;
    justify-content: center;
}
.index_button {
    width: 250px;
    display: flex;
    justify-content: center;
}