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

/* Header Styles */
.page-title {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 0;
}

.page-title-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
}

.header-icon {
    color: var(--primary-color);
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.header-description {
    color: var(--text-light);
}

/* Button Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Button Card */
.button-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-card:hover {
    box-shadow: var(--shadow-lg);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.button-preview {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-color);
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.copy-button:hover {
    background-color: #e5e7eb;
}

.copy-button svg {
    width: 16px;
    height: 16px;
}

.code-container {
    background-color: var(--bg-color);
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    overflow-x: auto;
}

.code-container pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--text-color);
    white-space: pre-wrap;
}

/* Tooltip */
.copy-button {
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tooltip.show {
    opacity: 1;
}

/* Media Queries */
@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Button Effects */

/* Scale Up Effect */
.scale-up {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-up:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Border Animation Effect */
.border-animation {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.3s ease;
}

.border-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.border-animation:hover {
    color: var(--white);
}

.border-animation:hover::before {
    width: 100%;
}

/* Gradient Shift Effect */
.gradient-shift {
    padding: 10px 20px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: 200% auto;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-position 0.5s ease;
}

.gradient-shift:hover {
    background-position: right center;
}

/* Text Slide Effect */
.text-slide {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.text-slide::before {
    content: 'Click Me';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.text-slide:hover::before {
    transform: translateY(0);
}

/* Shadow Pulse Effect */
.shadow-pulse {
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shadow-pulse:hover {
    box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.2);
}

/* Outline Fill Effect */
.outline-fill {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.outline-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.outline-fill:hover {
    color: var(--white);
}

.outline-fill:hover::after {
    transform: scaleY(1);
}

/* Bounce Effect */
.bounce-effect {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-effect:hover {
    transform: translateY(-5px);
}

/* Shimmer Effect */
.shimmer-effect {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.shimmer-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.7s;
    opacity: 0;
}

.shimmer-effect:hover::before {
    transform: rotate(30deg) translate(150%, -150%);
    opacity: 1;
}

/* Spin Effect */
.spin-effect {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spin-effect::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.spin-effect:hover {
    padding-right: 35px;
}

.spin-effect:hover::after {
    right: 15px;
    opacity: 1;
}

/* Neon Glow Effect */
.neon-glow {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.neon-glow:hover {
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(79, 70, 229, 0.5);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}