:root {
    --primary-color: #0088CC;
    --primary-light: #182552;
    --secondary-color: #1a1a1a;
    --accent-color: #FF9900;
    --text-color: #333333;
    --text-secondary: #a0a0a0;
    --panel-bg: #1e1e1e;
    --border-color: #333333;
    --gradient-button: linear-gradient(90deg, #FF9900 0%, #FFD600 100%);
    --gradient-panel: linear-gradient(180deg, rgba(61, 46, 102, 0.35) 0%, rgba(34, 29, 53, 0.15) 100%);
    --bg-overlay: rgba(1, 19, 60, 0.7);
    --background-color: #f9fbfc;
    --panel-background: #ffffff;
    --label-color: #6c757d;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --bg-color: rgba(1, 19, 60, 1);
    --text-primary: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Roboto', -apple-system, sans-serif;
    background-color: rgba(1, 19, 60, 1);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.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, transform 0.3s ease;
}

.main-header.scrolled {
    position: fixed;
    background-color: #01133C;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.header-title {
    letter-spacing: 0.2em;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.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-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;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .home-link:hover {
    color: #FFFFFF;
}

.main-nav .home-link {
    color: rgba(255, 255, 255, 0.7);
}

.header-icon {
    order: 3;
    margin-left: 30px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    position: relative;
    /* width: 1080px; */
    max-width: 100%;
    height: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.hero-background {
    position: absolute;
    /* width: 1080px; */
    height: 840px;
    /* left: calc(50% - 1080px/2);
    top: calc(50% - 840px/2); */
    z-index: -1;
}

.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;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 0px;
}

.ton-locker-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 10px;
    position: absolute;
    width: auto;
    min-width: 166px;
    height: 28px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 114px;
}

.ton-locker-title .ton-icon,
.ton-icon {
    width: 24px;
    height: 24px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.ton-locker-title h1 {
    width: auto;
    min-width: 132px;
    height: 28px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    flex: none;
    order: 1;
    flex-grow: 0;
    margin: 0;
    white-space: nowrap;
}

.wallet-connect-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px 24px;
    gap: 8px;
    position: absolute;
    width: auto;
    min-width: 192px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    background: linear-gradient(0deg, rgba(131, 131, 131, 0.2), rgba(131, 131, 131, 0.2)), rgba(1, 19, 61, 0.2);
    background-blend-mode: luminosity, normal;
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-connect-button::before,
.generate-payload-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 1px;
    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%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.wallet-connect-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.generate-payload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.wallet-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    position: absolute;
    width: auto;
    min-width: 251px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
}

.wallet-address-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 10px;
    width: auto;
    min-width: 251px;
    height: 24px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    justify-content: center;
}

.wallet-address-row .wallet-icon {
    width: 20px;
    height: 20px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.wallet-address-text {
    width: auto;
    min-width: 221px;
    height: 24px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    flex: none;
    order: 1;
    flex-grow: 0;
    cursor: pointer;
    white-space: nowrap;
}

.wallet-address-text:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wallet-disconnect {
    width: auto;
    min-width: 251px;
    height: 26px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.5);
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    cursor: pointer;
    white-space: nowrap;
}

.wallet-disconnect:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.wallet-connect-button .button-text {
    width: auto;
    min-width: 116px;
    height: 20px;
    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;
    flex: none;
    order: 1;
    flex-grow: 0;
    white-space: nowrap;
}

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

.wallet-connect-button.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.wallet-connect-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wallet-info {
    display: none;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    background: rgba(60, 30, 85, 0.8);
    border-radius: 12px;
    padding: 15px;
    max-width: 400px;
    word-break: break-all;
    backdrop-filter: blur(10px);
}

.wallet-address {
    font-family: 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 8px;
    word-break: break-all;
}

.wallet-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.wallet-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #240B37 0%, #3D2E66 100%);
    border-radius: 20px;
    padding: 30px;
    min-width: 400px;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wallet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-modal-header h3 {
    font-size: 20px;
    color: #FFFFFF;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    opacity: 0.7;
}

.wallet-list {
    display: grid;
    gap: 10px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.wallet-option img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    border-radius: 8px;
}

.wallet-option span {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
}

.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    padding: 0;
}

.main-content .container {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.panel-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
}

.panel-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc(50% - 12px);
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
}

.right-column .panel:first-child {
    flex: 0 0 auto;
}

.right-column .panel:last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: rgba(131, 131, 131, 0.15);
}

.panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 1px;
    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%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.panel-column .panel {
    width: 100%;
    margin-bottom: 0;
}

.panel-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.panel-heading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    gap: 10px;
    width: 100%;
    height: 50px;
    background: linear-gradient(0deg, rgba(131, 131, 131, 0.15), rgba(131, 131, 131, 0.15)), rgba(1, 19, 61, 0.2);
    background-blend-mode: overlay;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.panel-heading h2 {
    width: 488px;
    height: 26px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 1;
    margin: 0;
}

.info-row,
.panel-row {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    gap: 10px;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
}

.info-row:last-child,
.panel-row:last-child {
    border-bottom: none;
}

.info-label,
.row-text {
    height: 24px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    flex: 1 0 auto;
    order: 0;
    flex-grow: 0;
    max-width: 50%;
}

.info-value,
.row-value {
    height: 24px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    color: #FFFFFF;
    flex: 0 1 auto;
    order: 1;
    flex-grow: 0;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address,
.contract-address {
    font-family: 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    max-width: 100%;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.address:hover,
.contract-address:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: #a0cfff;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.input-group {
    margin-bottom: 15px;
    position: relative;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    line-height: 18px;
}

.input-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.input-field.error {
    border-color: var(--error-color);
    color: #ff3838;
}

.error-message {
    color: #ff3838;
    font-size: 14px;
    text-align: center;
    margin: 0 20px 16px 20px;
    font-family: 'Rubik';
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.button {
    background: var(--gradient-button);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
}

.button.loading {
    pointer-events: none;
}

.button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.generate-payload-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 20px 0;
}

.generate-payload-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: 180px;
    height: 50px;
    background: linear-gradient(0deg, rgba(131, 131, 131, 0.2), rgba(131, 131, 131, 0.2)), rgba(1, 19, 61, 0.2);
    background-blend-mode: luminosity, normal;
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: none;
    cursor: pointer;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-bottom: 10px;
    position: relative;
}

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

.generate-payload-button .button-text {
    width: auto;
    height: 20px;
    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;
    flex: none;
    order: 1;
    flex-grow: 0;
    text-transform: none;
    letter-spacing: normal;
}

.no-borders .panel-row {
    border-bottom: none;
    padding: 8px 20px;
}

.address-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    width: calc(100% - 40px);
    height: 72px;
    background: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    border-radius: 12px;
    margin: 0 20px 16px 20px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.address-container .contract-address {
    width: 100%;
    height: auto;
    min-height: 48px;
    font-family: 'Fira Code', monospace;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-decoration: none;
    word-break: break-all;
    flex: none;
    order: 0;
    flex-grow: 1;
    cursor: pointer;
    display: block;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    margin: 0;
}

.panel .panel-row:has(+ .address-container) {
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.contract-address::after {
    content: "Click to copy";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 100;
    margin-top: 5px;
}

.contract-address:hover::after {
    opacity: 1;
}

.panel-row-label {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px 8px 20px;
    gap: 10px;
    width: 100%;
    border-bottom: none;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
}

.no-bottom-border {
    border-bottom: none !important;
}

.input-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 10px;
    width: calc(100% - 40px);
    height: 56px;
    background: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    border-radius: 10px;
    margin: 0 20px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
}

.deposit-input {
    width: 100%;
    height: 24px;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

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

.deposit-input:focus {
    outline: none;
}

.input-container.error {
    border: 1px solid #ff3838;
    background-color: rgba(255, 56, 56, 0.1);
}

.deposit-input.error {
    color: #ff3838;
}

.panel-flex-disabled {
    display: block;
}

.transaction-status {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
    text-align: center;
}

.transaction-status.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.transaction-status.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.main-footer {
    background: rgba(1, 19, 60, 1);
    color: var(--text-color);
    padding: 30px 0;
    text-align: center;
}

@media (max-width: 1200px) {
    .panel-grid {
        flex-direction: column;
    }
    
    .panel-column {
        width: 100%;
    }
    
    .right-column {
        height: auto;
        margin-top: 24px;
    }
    
    .right-column .panel:first-child {
        margin-bottom: 24px;
    }
    
    .right-column .panel:last-child {
        margin-top: 0;
    }
}

@media (max-width: 1100px) {
    .hero-section {
        width: 100%;
        height: 600px;
    }
    
    .hero-background,
    .hero-bg-image {
        width: 100%;
        height: 700px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 800px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-background,
    .hero-bg-image {
        height: 600px;
    }
}

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

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

    .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: #01133C;
        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-header.menu-open {
        background-color: #01133C;
    }

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

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

    .main-nav a:hover {
        color: #a0cfff;
    }

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

    .hero-section {
        height: auto;
        min-height: 50vh;
        padding: 80px 20px 50px;
    }

    .ton-locker-title {
        bottom: 80px;
    }

    .wallet-connect-button,
    .wallet-display {
        bottom: 20px;
    }

    .panel {
        height: auto;
    }
    
    .panel-row {
        height: auto;
        min-height: 50px;
        flex-wrap: wrap;
        padding: 13px 15px;
    }
    
    .panel-row-label {
        padding: 13px 15px 8px 15px;
    }

    .no-borders .panel-row {
        padding: 8px 15px;
    }
    
    .row-text, .row-value {
        font-size: 14px;
        width: auto;
        max-width: 100%;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .row-text {
        flex: 1 1 50%;
        padding-right: 10px;
        font-weight: 400;
        margin-bottom: 5px;
    }
    
    .row-value {
        flex: 0 0 auto;
        text-align: right;
        padding-left: 0;
        font-weight: 500;
        word-break: break-word;
    }

    .contract-address {
        font-size: 12px;
        padding: 8px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-all;
    }

    .input-container {
        height: auto;
        min-height: 56px;
        padding: 12px;
        margin: 0 15px;
        width: calc(100% - 30px);
    }

    .deposit-input {
        font-size: 16px;
    }

    .panel-heading {
        padding: 12px 15px;
    }

    .panel-heading h2 {
        font-size: 16px;
        line-height: 24px;
        width: auto;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }

    .wallet-modal {
        min-width: 90vw;
        padding: 20px;
    }

    .address-container {
        height: auto;
        min-height: 72px;
        padding: 10px;
        margin: 0 15px 16px 15px;
        width: calc(100% - 30px);
    }

    .address-container .contract-address {
        font-size: 14px;
        letter-spacing: 0.05em;
    }

    .error-message {
        margin: 0 15px 16px 15px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 22px;
    }

    .ton-locker-title {
        bottom: 20px;
    }

    .wallet-connect-button,
    .wallet-display {
        bottom: -45px;
    }

    .panel-heading h2 {
        font-size: 13px;
    }

    .row-text, .row-value {
        font-size: 13px;
    }

    .generate-payload-button {
        width: 100%;
        max-width: 200px;
    }

    .panel-row {
        padding: 10px 12px;
    }

    .panel-row-label {
        padding: 10px 12px 8px 12px;
    }

    .no-borders .panel-row {
        padding: 8px 12px;
    }

    .address-container {
        padding: 8px;
        margin: 0 12px 12px 12px;
        width: calc(100% - 24px);
    }

    .address-container .contract-address {
        font-size: 12px;
    }

    .input-container {
        padding: 12px;
        margin: 0 12px;
        width: calc(100% - 24px);
    }

    .panel-heading {
        padding: 10px 12px;
    }

    .error-message {
        margin: 0 12px 16px 12px;
    }
} 